File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1342,7 +1342,7 @@ def test1(self):
1342
1342
def test2(self):
1343
1343
pass
1344
1344
"""
1345
- pytester .makepyfile (test_a = test_file1 , fence_tests = test_file2 )
1345
+ pytester .makepyfile (test_a = test_file1 , test_fence_scopes = test_file2 )
1346
1346
result = pytester .runpytest ("-n3" , "--dist=isoscope" , "-v" )
1347
1347
1348
1348
counts_by_worker_a = get_workers_and_test_count_by_prefix (
@@ -1355,10 +1355,10 @@ def test2(self):
1355
1355
assert counts_by_worker_a [worker ] == 2
1356
1356
1357
1357
counts_by_worker_fence_a = get_workers_and_test_count_by_prefix (
1358
- "fence_tests .py::TestFenceA" , result .outlines
1358
+ "test_fence_scopes .py::TestFenceA" , result .outlines
1359
1359
)
1360
1360
counts_by_worker_fence_b = get_workers_and_test_count_by_prefix (
1361
- "fence_tests .py::TestFenceB" , result .outlines
1361
+ "test_fence_scopes .py::TestFenceB" , result .outlines
1362
1362
)
1363
1363
1364
1364
assert len (counts_by_worker_fence_a ) == 1
You can’t perform that action at this time.
0 commit comments