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

Method test_getattr_section

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ConfigClass · 0.90

Tested by

no test coverage detected