(self)
| 344 | assert c.dict_trait == {"x": "5", "y": "10"} |
| 345 | |
| 346 | def test_dict_key_traits(self): |
| 347 | cl = self.klass(log=log) |
| 348 | argv = ["--C.dict_of_ints", "1=2", "--C.dict_of_ints", "3=4"] |
| 349 | config = cl.load_config(argv) |
| 350 | c = C(config=config) |
| 351 | assert c.dict_of_ints == {1: 2, 3: 4} |
| 352 | |
| 353 | |
| 354 | class CBase(Configurable): |
nothing calls this directly
no test coverage detected