Skip to content

Commit 8327f7f

Browse files
author
datacore-bolt-ci
committed
ci(stability): merge the develop branch
2 parents e68077c + 90f8095 commit 8327f7f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/python/test.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ done
5050
# virtualenv setup.
5151
source "$TEST_ROOT_DIR"/tests/bdd/setup.sh
5252

53+
TEST_ROOT="${BDD_TEST_DIR:-$TEST_ROOT_DIR/tests/bdd}"
54+
5355
if [ -z "$ARGS" ]; then
54-
pytest "${BDD_TEST_DIR:-$TEST_ROOT_DIR/tests/bdd}" --junit-xml="$REPORT" --durations=20
56+
pytest "$TEST_ROOT" --junit-xml="$REPORT" --durations=20
5557
else
56-
pytest "$ARGS" "--junit-xml=$REPORT"
58+
pytest --rootdir="$TEST_ROOT" $ARGS --junit-xml="$REPORT"
5759
fi

0 commit comments

Comments
 (0)