EDDN/pytest.ini
Athanasius 5c0515e9c6
tests: Prevent invocation in root dir, point to src/
Because the code itself only runs properly from inside the `src/` directory,
you cannot run `pytest` from the root directory and have the tests work.

So, set things up such that running `pytest` in the root directory will
only run the one test, and have that test point out the user error.
2022-08-29 15:14:34 +01:00

4 lines
48 B
INI

[pytest]
norecursedirs = src
testpaths = tests/