tests: move unittests into a sub directory
We currently mix the unit-tests with the shell script based integration tests. Let's put them into a dedicated sub directory. Related: OS#6531 Change-Id: I0978c5353d0d479a050bbb6e7ae5a63db5e08d24
This commit is contained in:
@@ -27,7 +27,7 @@ case "$JOB_TYPE" in
|
|||||||
pip install pyshark
|
pip install pyshark
|
||||||
|
|
||||||
# Execute automatically discovered unit tests first
|
# Execute automatically discovered unit tests first
|
||||||
python -m unittest discover -v -s tests/
|
python -m unittest discover -v -s tests/unittests
|
||||||
|
|
||||||
# Run the test with physical cards
|
# Run the test with physical cards
|
||||||
cd pysim-testdata
|
cd pysim-testdata
|
||||||
@@ -58,7 +58,7 @@ case "$JOB_TYPE" in
|
|||||||
--disable E1102 \
|
--disable E1102 \
|
||||||
--disable E0401 \
|
--disable E0401 \
|
||||||
--enable W0301 \
|
--enable W0301 \
|
||||||
pySim tests/*.py *.py \
|
pySim tests/unittests/*.py *.py \
|
||||||
contrib/*.py
|
contrib/*.py
|
||||||
;;
|
;;
|
||||||
"docs")
|
"docs")
|
||||||
|
|||||||
Reference in New Issue
Block a user