MCPcopy
hub / github.com/celery/celery / test_update

Method test_update

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

Source from the content-addressed store, hash-verified

73 assert self.view.get('nonexisting', sp) is sp
74
75 def test_update(self):
76 changes = dict(self.view.changes)
77 self.view.update(a=1, b=2, c=3)
78 assert self.view.changes == dict(changes, a=1, b=2, c=3)
79
80 def test_contains(self):
81 assert 'changed_key' in self.view

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected