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

Method _check_conf

tests/config/test_loader.py:72–77  ·  view source on GitHub ↗
(self, config)

Source from the content-addressed store, hash-verified

70
71class TestFileCL(TestCase):
72 def _check_conf(self, config):
73 self.assertEqual(config.a, 10)
74 self.assertEqual(config.b, 20)
75 self.assertEqual(config.Foo.Bar.value, 10)
76 self.assertEqual(config.Foo.Bam.value, list(range(10)))
77 self.assertEqual(config.D.C.value, "hi there")
78
79 def test_python(self):
80 fd, fname = mkstemp(".py", prefix="μnïcø∂e")

Callers 2

test_pythonMethod · 0.95
test_jsonMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected