Fix relative imports in the tests
Enable tests to load source files in the `units` directory by starting the discover a one level above. Related: rhbz#2134889
This commit is contained in:
parent
c198f7deee
commit
bcf88661d9
@ -17,6 +17,6 @@
|
|||||||
dir: .
|
dir: .
|
||||||
run: /usr/libexec/platform-python -c "import simpleline"
|
run: /usr/libexec/platform-python -c "import simpleline"
|
||||||
- unit:
|
- unit:
|
||||||
dir: ./source/tests/units
|
dir: ./source/tests
|
||||||
run: /usr/libexec/platform-python -m unittest discover -v -p "*_test.py"
|
run: /usr/libexec/platform-python -m unittest discover -v -p "*_test.py"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user