| 1935 | |
| 1936 | |
| 1937 | class TestInstanceFullyValidatedDict(TraitTestBase): |
| 1938 | obj = FullyValidatedDictTrait() |
| 1939 | |
| 1940 | _default_value = {"foo": 1} |
| 1941 | _good_values = [{"foo": 0, "bar": "1"}, {"foo": 1, "bar": "2"}] |
| 1942 | _bad_values = [{"foo": 0, "bar": 1}, {"foo": "0", "bar": "1"}, {"foo": 0, 0: "1"}] |
| 1943 | |
| 1944 | |
| 1945 | def test_dict_default_value(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…