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

Method test_true_values

test/test_review_fixes.py:101–102  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

99
100 @pytest.mark.parametrize("value", ["on", "yes", "true", "1", "y", "t", "anything"])
101 def test_true_values(self, value):
102 assert ConfigBox(flag=value).bool("flag") is True

Callers

nothing calls this directly

Calls 2

ConfigBoxClass · 0.90
boolMethod · 0.80

Tested by

no test coverage detected