(self, type, value)
| 79 | self.decode_data(body) |
| 80 | |
| 81 | def assert_next(self, type, value): |
| 82 | next_type = self.data.next() |
| 83 | assert next_type == type, "Type mismatch: %s != %s" % ( |
| 84 | Data.type_names[next_type], Data.type_names[type]) |
| 85 | next_value = self.data.get_object() |
| 86 | assert next_value == value, "Value mismatch: %s != %s" % (next_value, value) |
| 87 | |
| 88 | def test_message(self): |
| 89 | self.decode_message_file("message") |