[core/output] Add id of widget and module to output
In the process of that, fix a bug in how the parent class constructors were invoked.
This commit is contained in:
parent
4d34fa9261
commit
fca364554e
4 changed files with 8 additions and 6 deletions
|
@ -2,7 +2,7 @@ import unittest
|
|||
|
||||
import util.store
|
||||
|
||||
class config(unittest.TestCase):
|
||||
class store(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.store = util.store.Store()
|
||||
|
||||
|
@ -12,9 +12,6 @@ class config(unittest.TestCase):
|
|||
self.someValue = "someRandomValue"
|
||||
self.someOtherValue = "anotherRandomValue"
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def test_get_of_unset_key(self):
|
||||
self.assertEqual(None, self.store.get(self.unusedKey), 'default value expected to be None')
|
||||
self.assertEqual(self.someValue, self.store.get(self.unusedKey, self.someValue), 'wrong user-provided default value returned')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue