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

Method setup_method

t/unit/utils/test_collections.py:125–131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

123 callback.assert_called_once_with(foo=3)
124
125 def setup_method(self):
126 self.view = ConfigurationView(
127 {'changed_key': 1, 'both': 2},
128 [
129 {'default_key': 1, 'both': 1},
130 ],
131 )
132
133 def test_setdefault(self):
134 self.view.setdefault('both', 36)

Callers

nothing calls this directly

Calls 1

ConfigurationViewClass · 0.90

Tested by

no test coverage detected