mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
g13gui: Ensure Preferences stores the selected profile
This commit is contained in:
parent
fce850f786
commit
20486af0d0
@ -91,9 +91,11 @@ class PrefsTestCase(ObserverTestCase):
|
||||
p = prefs.Preferences()
|
||||
initial_d = p.saveToDict()
|
||||
self.assertIsNotNone(initial_d)
|
||||
|
||||
self.assertEqual(initial_d['version'], VERSION)
|
||||
self.assertIn('profiles', initial_d)
|
||||
self.assertIn('selectedProfile', initial_d)
|
||||
self.assertEqual('Default Profile', initial_d['selectedProfile'])
|
||||
|
||||
p = prefs.Preferences(initial_d)
|
||||
new_d = p.saveToDict()
|
||||
|
Loading…
Reference in New Issue
Block a user