MCPcopy
hub / github.com/celery/celery / test_include_when_disabled

Method test_include_when_disabled

t/unit/worker/test_bootsteps.py:102–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 x.create.assert_called_with(self)
101
102 def test_include_when_disabled(self):
103 x = self.Def(self)
104 x.enabled = False
105 x.create = Mock()
106
107 assert not x.include(self)
108 x.create.assert_not_called()
109
110 def test_repr(self):
111 x = self.Def(self)

Callers

nothing calls this directly

Calls 1

includeMethod · 0.45

Tested by

no test coverage detected