[core] Add themes to module constructor
This commit is contained in:
parent
354d723b7c
commit
1f94eab927
4 changed files with 10 additions and 10 deletions
|
@ -6,7 +6,7 @@ import modules.core.kernel
|
|||
class kernel(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.someKernel = 'this-is-my-kernel'
|
||||
self.module = modules.core.kernel.Module(config=core.config.Config([]))
|
||||
self.module = modules.core.kernel.Module(config=core.config.Config([]), theme=None)
|
||||
|
||||
def test_full_text(self):
|
||||
with unittest.mock.patch('modules.core.kernel.platform') as platform:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue