@@ -367,8 +367,12 @@ def add_node_collection(
367
367
368
368
# Check that the new collection matches the official collection
369
369
if self ._do_two_nodes_have_same_collection (
370
- reference_node = cast (WorkerController , self ._official_test_collection_node ),
371
- reference_collection = cast (tuple [str , ...], self ._official_test_collection ),
370
+ reference_node = cast (
371
+ WorkerController , self ._official_test_collection_node
372
+ ),
373
+ reference_collection = cast (
374
+ tuple [str , ...], self ._official_test_collection
375
+ ),
372
376
node = node ,
373
377
collection = collection ,
374
378
):
@@ -402,7 +406,7 @@ def add_node_collection(
402
406
reference_node = reference_worker .node ,
403
407
reference_collection = cast (tuple [str , ...], reference_worker .collection ),
404
408
node = pending_worker .node ,
405
- collection = cast (tuple [str , ...],pending_worker .collection ),
409
+ collection = cast (tuple [str , ...], pending_worker .collection ),
406
410
):
407
411
same_collection = False
408
412
@@ -429,7 +433,8 @@ def add_node_collection(
429
433
all_tests = [
430
434
_TestProxy (test_id = test_id , test_index = test_index )
431
435
for test_index , test_id in enumerate (
432
- cast (tuple [str , ...], self ._official_test_collection ))
436
+ cast (tuple [str , ...], self ._official_test_collection )
437
+ )
433
438
]
434
439
shuffled_test_collection = random .sample (all_tests , k = len (all_tests ))
435
440
0 commit comments