(self)
| 230 | self.assertEqual(config.Global.x, "frobble") |
| 231 | |
| 232 | def test_argv(self): |
| 233 | cl = MyLoader1(argv="-f hi -b 10 -n wow".split()) |
| 234 | config = cl.load_config() |
| 235 | self.assertEqual(config.Global.foo, "hi") |
| 236 | self.assertEqual(config.MyClass.bar, 10) |
| 237 | self.assertEqual(config.n, True) |
| 238 | self.assertEqual(config.Global.bam, "wow") |
| 239 | |
| 240 | def test_list_args(self): |
| 241 | cl = MyLoader1() |
nothing calls this directly
no test coverage detected