[tests] Fix kernel module test
This commit is contained in:
parent
bd7ff3c8f1
commit
11ebcee29a
12 changed files with 13 additions and 12 deletions
|
@ -1,11 +1,12 @@
|
|||
import unittest
|
||||
|
||||
import core.config
|
||||
import modules.core.kernel
|
||||
|
||||
class kernel(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.someKernel = 'this-is-my-kernel'
|
||||
self.module = modules.core.kernel.Module()
|
||||
self.module = modules.core.kernel.Module(config=core.config.Config([]))
|
||||
|
||||
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