diff --git a/testing/python/collect.py b/testing/python/collect.py index 52c06a42e..5fe85a012 100644 --- a/testing/python/collect.py +++ b/testing/python/collect.py @@ -1630,21 +1630,21 @@ def test_package_ordering(testdir): """ . └── root - ├── TestRoot.py + ├── check_root.py ├── __init__.py ├── sub1 - │ ├── TestSub1.py + │ ├── check_sub1.py │ └── __init__.py └── sub2 └── test - ├── TestSub2.py + ├── check_sub2.py └── test_in_sub2.py """ testdir.makeini( """ [pytest] - python_files=Test*.py + python_files=check_*.py """ ) root = testdir.mkpydir("root") @@ -1653,9 +1653,9 @@ def test_package_ordering(testdir): sub2 = root.mkdir("sub2") sub2_test = sub2.mkdir("sub2") - root.join("TestRoot.py").write("def test_1(): pass") - sub1.join("TestSub1.py").write("def test_2(): pass") - sub2_test.join("TestSub2.py").write("def test_3(): pass") + root.join("check_root.py").write("def test_1(): pass") + sub1.join("check_sub1.py").write("def test_2(): pass") + sub2_test.join("check_sub2.py").write("def test_3(): pass") sub2_test.join("test_in_sub2.py").write("def test_4(): pass") # Execute from .