Skip to content

Commit 597ba25

Browse files
committed
Fix test execution scripts
1 parent 322c8c6 commit 597ba25

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

functional_tests.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ coverage run \
88
-m unittest \
99
discover \
1010
--pattern '*Tests.py' \
11-
--start-directory ./ \
12-
./tests/functional
11+
--top-level-directory ./ \
12+
--start-directory ./tests/functional/ \
13+
./tests/functional/
1314
TESTS_PASSED=$?
1415

1516
if [[ $TESTS_PASSED -eq 0 ]];

unit_tests.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ coverage run \
88
-m unittest \
99
discover \
1010
--pattern '*Tests.py' \
11-
--start-directory ./ \
12-
./tests/unit
11+
--top-level-directory ./ \
12+
--start-directory ./tests/unit/ \
13+
./tests/unit/
1314
TESTS_PASSED=$?
1415

1516
if [[ $TESTS_PASSED -eq 0 ]];

0 commit comments

Comments
 (0)