MCPcopy
hub / github.com/celery/celery / test_text

Method test_text

t/unit/utils/test_saferepr.py:135–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 assert saferepr(D_INT_KEYS) == old_repr(D_INT_KEYS)
134
135 def test_text(self):
136 assert saferepr(D_TEXT) == old_repr(D_TEXT).replace("u'", "'")
137
138 def test_text_maxlen(self):
139 assert saferepr(D_D_TEXT, 100).endswith("...', ...}}")

Callers

nothing calls this directly

Calls 3

safereprFunction · 0.90
old_reprFunction · 0.85
replaceMethod · 0.45

Tested by

no test coverage detected