(self)
| 588 | self.assertIn("foo", cfg) |
| 589 | |
| 590 | def test_getattr_private_missing(self): |
| 591 | cfg = Config() |
| 592 | self.assertNotIn("_repr_html_", cfg) |
| 593 | with self.assertRaises(AttributeError): |
| 594 | _ = cfg._repr_html_ |
| 595 | self.assertNotIn("_repr_html_", cfg) |
| 596 | self.assertEqual(len(cfg), 0) |
| 597 | |
| 598 | def test_lazy_config_repr(self): |
| 599 | cfg = Config() |