MCPcopy
hub / github.com/celery/celery / test_json

Method test_json

t/unit/tasks/test_canvas.py:154–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152 assert Signature('C') in x.options['link']
153
154 def test_json(self):
155 x = Signature('TASK', link=Signature('B', app=self.app), app=self.app)
156 assert x.__json__() == dict(x)
157
158 @pytest.mark.usefixtures('depends_on_current_app')
159 def test_reduce(self):

Callers

nothing calls this directly

Calls 2

__json__Method · 0.95
SignatureClass · 0.90

Tested by

no test coverage detected