We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e68077c + 90f8095 commit 8327f7fCopy full SHA for 8327f7f
scripts/python/test.sh
@@ -50,8 +50,10 @@ done
50
# virtualenv setup.
51
source "$TEST_ROOT_DIR"/tests/bdd/setup.sh
52
53
+TEST_ROOT="${BDD_TEST_DIR:-$TEST_ROOT_DIR/tests/bdd}"
54
+
55
if [ -z "$ARGS" ]; then
- pytest "${BDD_TEST_DIR:-$TEST_ROOT_DIR/tests/bdd}" --junit-xml="$REPORT" --durations=20
56
+ pytest "$TEST_ROOT" --junit-xml="$REPORT" --durations=20
57
else
- pytest "$ARGS" "--junit-xml=$REPORT"
58
+ pytest --rootdir="$TEST_ROOT" $ARGS --junit-xml="$REPORT"
59
fi
0 commit comments