MCPcopy
hub / github.com/celery/celery / test_self_send

Method test_self_send

t/unit/security/test_serialization.py:53–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 s2.deserialize(s2.serialize('foo'))
52
53 def test_self_send(self):
54 s1 = self._get_s(KEY1, CERT1, [CERT1])
55 s2 = self._get_s(KEY1, CERT1, [CERT1])
56 assert s2.deserialize(s1.serialize('foo')) == 'foo'
57
58 def test_separate_ends(self):
59 s1 = self._get_s(KEY1, CERT1, [CERT2])

Callers

nothing calls this directly

Calls 3

_get_sMethod · 0.95
deserializeMethod · 0.80
serializeMethod · 0.80

Tested by

no test coverage detected