(self)
| 567 | self.assertEqual(cfg2, cfg) |
| 568 | |
| 569 | def test_getattr_section(self): |
| 570 | cfg = Config() |
| 571 | self.assertNotIn("Foo", cfg) |
| 572 | Foo = cfg.Foo |
| 573 | assert isinstance(Foo, Config) |
| 574 | self.assertIn("Foo", cfg) |
| 575 | |
| 576 | def test_getitem_section(self): |
| 577 | cfg = Config() |