(self)
| 581 | self.assertIn("Foo", cfg) |
| 582 | |
| 583 | def test_getattr_not_section(self): |
| 584 | cfg = Config() |
| 585 | self.assertNotIn("foo", cfg) |
| 586 | foo = cfg.foo |
| 587 | assert isinstance(foo, LazyConfigValue) |
| 588 | self.assertIn("foo", cfg) |
| 589 | |
| 590 | def test_getattr_private_missing(self): |
| 591 | cfg = Config() |