File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -1291,11 +1291,14 @@ class TestScopeB(TestScopeA):
1291
1291
pytester .makepyfile (test_a = test_file , test_b = test_file )
1292
1292
result = pytester .runpytest ("-n2" , "--dist=isoscope" , "-v" )
1293
1293
1294
- print ("ZZZ outlines" )
1295
- pprint .pprint (result .outlines , indent = 4 )
1296
- print ("ZZZ errlines" )
1297
- pprint .pprint (result .errlines , indent = 4 )
1298
- assert False
1294
+ assert sum (
1295
+ get_workers_and_test_count_by_prefix (
1296
+ "test_a.py::TestScopeA" , result .outlines ).values ()
1297
+ ) == 5
1298
+ assert sum (
1299
+ get_workers_and_test_count_by_prefix (
1300
+ "test_a.py::TestScopeB" , result .outlines ).values ()
1301
+ ) == 5
1299
1302
1300
1303
def test_by_module (self , pytester : pytest .Pytester ) -> None :
1301
1304
test_file = """
You can’t perform that action at this time.
0 commit comments