Skip to content

Commit dea75f1

Browse files
committed
Add the conftest.py file
This file was added to simplify how the tests can be run, from a developer's point of view (not have to set the `PYTHONPATH` explicitly before running the tests). This decision can be reevaluated once the project has a `setup.py` file.
1 parent d76d3b8 commit dea75f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/conftest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import os
2+
import sys
3+
4+
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))

0 commit comments

Comments
 (0)