MCPcopy Create free account
hub / github.com/ipython/traitlets / test_getattr_not_section

Method test_getattr_not_section

tests/config/test_loader.py:583–588  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 1

ConfigClass · 0.90

Tested by

no test coverage detected