diff --git a/pyproject.toml b/pyproject.toml index bb937af..7407070 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ test = ["pytest >= 7.0.0"] [tool.pytest.ini_options] pythonpath = "src" +testpaths = "tests" [build-system] requires = ["setuptools>=61.0.0", "setuptools_scm[toml]>=6.2.0"] diff --git a/tests/test_json.py b/tests/test_json.py index b25534a..b8651d2 100644 --- a/tests/test_json.py +++ b/tests/test_json.py @@ -19,7 +19,7 @@ / "textplan" / "data" ) -JSON_TEST_FILE = list(JSON_FIXTURES.glob("*.json")) +JSON_TEST_FILE = sorted(JSON_FIXTURES.glob("*.json")) JSON_TEST_FILENAMES = [path.name for path in JSON_TEST_FILE]