Show More
@@ -258,7 +258,7 b' class TestConfig(TestCase):' | |||||
258 | c1 = Config() |
|
258 | c1 = Config() | |
259 | exec 'foo = True' in c1 |
|
259 | exec 'foo = True' in c1 | |
260 | self.assertEqual(c1.foo, True) |
|
260 | self.assertEqual(c1.foo, True) | |
261 | self.assertRaises(ConfigError, setattr, c1, 'ValueError', 10) |
|
261 | c1.format = "json" | |
262 |
|
262 | |||
263 | def test_fromdict(self): |
|
263 | def test_fromdict(self): | |
264 | c1 = Config({'Foo' : {'bar' : 1}}) |
|
264 | c1 = Config({'Foo' : {'bar' : 1}}) |
General Comments 0
You need to be logged in to leave comments.
Login now