(self, r)
| 749 | assert message1 != message2 |
| 750 | |
| 751 | def test_channel_message_handler(self, r): |
| 752 | p = r.pubsub(ignore_subscribe_messages=True) |
| 753 | p.subscribe(foo=self.message_handler) |
| 754 | assert wait_for_message(p) is None |
| 755 | assert r.publish("foo", "test message") == 1 |
| 756 | assert wait_for_message(p) is None |
| 757 | assert self.message == make_message("message", "foo", "test message") |
| 758 | |
| 759 | @pytest.mark.onlynoncluster |
| 760 | def test_binary_channel_message_handler_with_subscription(self, r): |
nothing calls this directly
no test coverage detected