MCPcopy
hub / github.com/celery/celery / test_instantiate

Method test_instantiate

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

Source from the content-addressed store, hash-verified

85 assert not x.include_if(self)
86
87 def test_instantiate(self):
88 assert isinstance(
89 self.Def(self).instantiate(self.Def, self),
90 self.Def,
91 )
92
93 def test_include_when_enabled(self):
94 x = self.Def(self)

Callers

nothing calls this directly

Calls 1

instantiateMethod · 0.80

Tested by

no test coverage detected