(self, r)
| 936 | ) |
| 937 | |
| 938 | def test_channel_publish(self, r): |
| 939 | p = r.pubsub() |
| 940 | p.subscribe(self.channel) |
| 941 | assert wait_for_message(p) == self.make_message("subscribe", self.channel, 1) |
| 942 | r.publish(self.channel, self.data) |
| 943 | assert wait_for_message(p) == self.make_message( |
| 944 | "message", self.channel, self.data |
| 945 | ) |
| 946 | |
| 947 | @pytest.mark.onlynoncluster |
| 948 | def test_pattern_publish(self, r): |
nothing calls this directly
no test coverage detected