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