MCPcopy Create free account
hub / github.com/celery/celery / test_default_table

Method test_default_table

t/unit/utils/test_serialization.py:99–100  ·  view source on GitHub ↗
(self, s, b)

Source from the content-addressed store, hash-verified

97 @pytest.mark.parametrize('s,b',
98 STRTOBOOL_DEFAULT_TABLE.items())
99 def test_default_table(self, s, b):
100 assert strtobool(s) == b
101
102 def test_unknown_value(self):
103 with pytest.raises(TypeError, match="Cannot coerce 'foo' to type bool"):

Callers

nothing calls this directly

Calls 1

strtoboolFunction · 0.90

Tested by

no test coverage detected