From e5201187a29a2189481b80db76395e1e613920f9 Mon Sep 17 00:00:00 2001 From: Tobi-wan Kenobi Date: Sun, 4 Dec 2016 08:25:11 +0100 Subject: [PATCH] [tests/config] Small refactoring (renaming) --- tests/test_config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_config.py b/tests/test_config.py index c87b51a..90e9816 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -9,17 +9,16 @@ class TestConfig(unittest.TestCase): self.someSimpleModules = ["foo", "bar", "baz"] self.someAliasModules = ["foo:a", "bar:b", "baz:c"] - def test_no_modules_by_default(self): self.assertEquals(self.defaultConfig.modules(), []) - def test_load_simple_modules(self): + def test_simple_modules(self): cfg = Config(["-m"] + self.someSimpleModules) self.assertEquals(cfg.modules(), [{ "name": x, "module": x } for x in self.someSimpleModules]) - def test_load_alias_modules(self): + def test_alias_modules(self): cfg = Config(["-m"] + self.someAliasModules) self.assertEquals(cfg.modules(), [{ "module": x.split(":")[0],