3232import multiprocessing .pool
3333
3434
35- def test_primary_rerouting (multi_node : Cluster , domain_urls : tc . DomainUrls ) -> None :
35+ def test_primary_rerouting (multi_node : Cluster ) -> None :
3636 """
3737 Test: commands intended only for primary node are automatically routed to
3838 primary node and response it sent back when executed from non-primary
@@ -52,8 +52,6 @@ def test_primary_rerouting(multi_node: Cluster, domain_urls: tc.DomainUrls) -> N
5252 # TODO Skip admin command routing tests until admin command routing is re-enabled
5353 return
5454
55- du = domain_urls
56-
5755 admin = AdminClient ()
5856
5957 # find the first node which is not a known leader
@@ -115,7 +113,7 @@ def test_primary_rerouting(multi_node: Cluster, domain_urls: tc.DomainUrls) -> N
115113 admin .stop ()
116114
117115
118- def test_cluster_rerouting (multi_node : Cluster , domain_urls : tc . DomainUrls ) -> None :
116+ def test_cluster_rerouting (multi_node : Cluster ) -> None :
119117 """
120118 Test: commands intended for cluster are routed to all nodes in the cluster
121119 regardless of the node the command is initially sent to
@@ -136,8 +134,6 @@ def test_cluster_rerouting(multi_node: Cluster, domain_urls: tc.DomainUrls) -> N
136134 # TODO Skip admin command routing tests until admin command routing is re-enabled
137135 return
138136
139- du = domain_urls
140-
141137 admin = AdminClient ()
142138
143139 node = multi_node .nodes ()[0 ]
@@ -190,7 +186,7 @@ def test_cluster_rerouting(multi_node: Cluster, domain_urls: tc.DomainUrls) -> N
190186 admin .stop ()
191187
192188
193- def test_multi_response_encoding (multi_node : Cluster , domain_urls : tc . DomainUrls ):
189+ def test_multi_response_encoding (multi_node : Cluster ):
194190 """
195191 Test: JSON encoding options work with multiple responses (when routing to
196192 multiple nodes)
@@ -209,8 +205,6 @@ def test_multi_response_encoding(multi_node: Cluster, domain_urls: tc.DomainUrls
209205 # TODO Skip admin command routing tests until admin command routing is re-enabled
210206 return
211207
212- du = domain_urls
213-
214208 def is_compact (json_str : str ) -> bool :
215209 return " " not in json_str
216210
0 commit comments