Create a ClusterPubSub with no node set, using the provided cluster mock.
(self, cluster_mock)
| 3617 | """ |
| 3618 | |
| 3619 | def _make_pubsub(self, cluster_mock): |
| 3620 | """Create a ClusterPubSub with no node set, using the provided cluster mock.""" |
| 3621 | from redis._parsers import Encoder |
| 3622 | from redis.cluster import ClusterPubSub |
| 3623 | |
| 3624 | cluster_mock.encoder = Encoder("utf-8", "strict", False) |
| 3625 | return ClusterPubSub(cluster_mock) |
| 3626 | |
| 3627 | def test_get_node_pubsub_uses_cluster_get_redis_connection(self): |
| 3628 | """ |
no test coverage detected