MCPcopy
hub / github.com/celery/celery / test_from_dict_no_tasks

Method test_from_dict_no_tasks

t/unit/tasks/test_canvas.py:438–440  ·  view source on GitHub ↗
(self, chain_type)

Source from the content-addressed store, hash-verified

436
437 @pytest.mark.parametrize("chain_type", [_chain, chain_subclass])
438 def test_from_dict_no_tasks(self, chain_type):
439 assert chain_type.from_dict(dict(chain_type(app=self.app)), app=self.app)
440 assert isinstance(chain_type.from_dict(dict(chain_type(app=self.app)), app=self.app), chain_type)
441
442 @pytest.mark.parametrize("chain_type", [_chain, chain_subclass])
443 def test_from_dict_full_subtasks(self, chain_type):

Callers

nothing calls this directly

Calls 1

from_dictMethod · 0.45

Tested by

no test coverage detected