Skip to content

Commit 1b9f92d

Browse files
committed
Add isoscope parametrization to generic acceptance tests test_single_file and test_multi_file.
1 parent 4486a9f commit 1b9f92d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

testing/acceptance_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,15 +1513,17 @@ def test_c(self):
15131513
""" + ((_test_content * 4) % ("A", "B", "C", "D"))
15141514

15151515
@pytest.mark.parametrize(
1516-
"scope", ["each", "load", "loadscope", "loadfile", "worksteal", "no"]
1516+
"scope", ["each", "isoscope", "load", "loadscope", "loadfile",
1517+
"worksteal", "no"]
15171518
)
15181519
def test_single_file(self, pytester: pytest.Pytester, scope: str) -> None:
15191520
pytester.makepyfile(test_a=self.test_file1)
15201521
result = pytester.runpytest("-n2", "--dist=%s" % scope, "-v")
15211522
result.assert_outcomes(passed=(12 if scope != "each" else 12 * 2))
15221523

15231524
@pytest.mark.parametrize(
1524-
"scope", ["each", "load", "loadscope", "loadfile", "worksteal", "no"]
1525+
"scope", ["each", "isoscope", "load", "loadscope", "loadfile",
1526+
"worksteal", "no"]
15251527
)
15261528
def test_multi_file(self, pytester: pytest.Pytester, scope: str) -> None:
15271529
pytester.makepyfile(

0 commit comments

Comments
 (0)