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

Method test_include_if

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

Source from the content-addressed store, hash-verified

77 self.Def(self).create(self)
78
79 def test_include_if(self):
80 x = self.Def(self)
81 x.enabled = True
82 assert x.include_if(self)
83
84 x.enabled = False
85 assert not x.include_if(self)
86
87 def test_instantiate(self):
88 assert isinstance(

Callers

nothing calls this directly

Calls 1

include_ifMethod · 0.45

Tested by

no test coverage detected