(self)
| 46 | assert proto1_to_proto2(self.message, self.body) |
| 47 | |
| 48 | def test_message(self): |
| 49 | body, headers, decoded, utc = proto1_to_proto2(self.message, self.body) |
| 50 | assert body == ((1,), {'foo': 'baz'}, { |
| 51 | 'callbacks': None, 'errbacks': None, 'chord': None, 'chain': None, |
| 52 | }) |
| 53 | assert headers == dict(self.body, group='123') |
| 54 | assert decoded |
| 55 | assert not utc |
| 56 | |
| 57 | |
| 58 | class test_default_strategy_proto2: |
nothing calls this directly
no test coverage detected