|
@@ -31,9 +31,11 @@ class SettingsLoaderTestCase(unittest.TestCase):
|
31
|
31
|
f=settings.getoption('C','cb',maFonction)
|
32
|
32
|
f=settings.getoption('C','ca',maFonction)
|
33
|
33
|
f=settings.getoption('C','cc',maFonction)
|
34
|
|
-
|
|
34
|
+ f=settings.getoption('C','a',maFonction)
|
35
|
35
|
g=settings.getremains()
|
36
|
36
|
self.assertEqual(g,[])
|
|
37
|
+ with self.assertRaises(SettingsError):
|
|
38
|
+ loader = SettingsLoader('tests/settings/conf_raise.d')
|
37
|
39
|
|
38
|
40
|
def test_merge(self):
|
39
|
41
|
""" Test merge of multiple configuration files """
|