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:
Philipp Maier
2024-08-15 11:49:30 +02:00
committed by dexter
parent 8680698f97
commit e0241037e7
14 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ case "$JOB_TYPE" in
pip install pyshark
# 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
cd pysim-testdata
@@ -58,7 +58,7 @@ case "$JOB_TYPE" in
--disable E1102 \
--disable E0401 \
--enable W0301 \
pySim tests/*.py *.py \
pySim tests/unittests/*.py *.py \
contrib/*.py
;;
"docs")