MCPcopy Create free account
hub / github.com/cdgriffith/Box / test_options_are_not_data

Method test_options_are_not_data

test/test_box_defaults.py:91–94  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 assert ConfigBox._box_resolved_defaults == {}
90
91 def test_options_are_not_data(self):
92 b = DefaultBox(a=1, box_dots=True)
93 assert b.to_dict() == {"a": 1}
94 assert b._box_config["box_dots"] is True

Callers

nothing calls this directly

Calls 2

DefaultBoxClass · 0.85
to_dictMethod · 0.80

Tested by

no test coverage detected