[core/module] Add config to module
Add access for all modules to the commandline parameters (called "config" in bumblebee-status)
This commit is contained in:
parent
74e74bb78b
commit
3a531c359f
6 changed files with 22 additions and 11 deletions
|
@ -12,7 +12,7 @@ class i3(unittest.TestCase):
|
|||
self.i3 = core.output.i3()
|
||||
widget = unittest.mock.MagicMock()
|
||||
widget.full_text.return_value = "test"
|
||||
self.someModule = TestModule([widget, widget, widget])
|
||||
self.someModule = TestModule(widgets=[widget, widget, widget])
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue