diff --git a/testing/python/integration.py b/testing/python/integration.py index 0b87fea3327..c54e81665d3 100644 --- a/testing/python/integration.py +++ b/testing/python/integration.py @@ -212,7 +212,7 @@ def test_someting(normpath, abspath, tmpdir): assert os.path.basename("123") == "mock_basename" """ ) - reprec = testdir.inline_run() + reprec = testdir.inline_run("-p", "no:randomly") reprec.assertoutcome(passed=2) calls = reprec.getcalls("pytest_runtest_logreport") funcnames = [ @@ -238,7 +238,7 @@ def test_three(abspath): pass """ ) - reprec = testdir.inline_run() + reprec = testdir.inline_run("-p", "no:randomly") calls = reprec.getreports("pytest_runtest_logreport") calls = [x for x in calls if x.when == "call"] names = [x.nodeid.split("::")[-1] for x in calls] @@ -442,5 +442,5 @@ def test_params(a, b): pass """ ) - res = testdir.runpytest("--collect-only") + res = testdir.runpytest("--collect-only", "-p", "no:randomly") res.stdout.fnmatch_lines(["*spam-2*", "*ham-2*"])