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

Method test_list_single_item

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

Source from the content-addressed store, hash-verified

330 assert c.list_trait == ["x", "y"]
331
332 def test_list_single_item(self):
333 cl = self.klass(log=log)
334 argv = ["--C.list_trait", "x"]
335 config = cl.load_config(argv)
336 c = C(config=config)
337 assert c.list_trait == ["x"]
338
339 def test_dict(self):
340 cl = self.klass(log=log)

Callers

nothing calls this directly

Calls 2

CClass · 0.70
load_configMethod · 0.45

Tested by

no test coverage detected