[tests] add more tests
This commit is contained in:
parent
eea3c758de
commit
7584366adc
4 changed files with 28 additions and 3 deletions
|
@ -52,8 +52,8 @@ class config(unittest.TestCase):
|
|||
|
||||
def test_logfile(self):
|
||||
cfg = core.config.Config(["-f", "my-custom-logfile"])
|
||||
self.assertEquals(None, self.defaultConfig.logfile())
|
||||
self.assertEquals("my-custom-logfile", cfg.logfile())
|
||||
self.assertEqual(None, self.defaultConfig.logfile())
|
||||
self.assertEqual("my-custom-logfile", cfg.logfile())
|
||||
|
||||
def test_all_modules(self):
|
||||
modules = core.config.all_modules()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue