(example_messages)
| 804 | |
| 805 | |
| 806 | def test_message_repr_shows_actual_values(example_messages): |
| 807 | _, messages = example_messages |
| 808 | |
| 809 | for msg in messages: |
| 810 | s = str(msg) |
| 811 | |
| 812 | assert '{self.type}' not in s |
| 813 | assert '{metadata_len}' not in s |
| 814 | assert '{body_len}' not in s |
| 815 | assert f'type: {msg.type}' in s |
| 816 | |
| 817 | |
| 818 | @pytest.mark.gzip |
nothing calls this directly
no outgoing calls
no test coverage detected