diff --git a/scripts/ci/test_source.sh b/scripts/ci/test_source.sh index 766bc2177dd..4542897b94d 100755 --- a/scripts/ci/test_source.sh +++ b/scripts/ci/test_source.sh @@ -17,7 +17,7 @@ for d in src/*/azext_*/tests; if [ -d $d ]; then export AZURE_EXTENSION_DIR=$(mktemp -d); pip install --upgrade --target $AZURE_EXTENSION_DIR/ext $d/../..; - python -m unittest discover -v $d; + python -m unittest discover -v $d/../..; rm -rf $AZURE_EXTENSION_DIR; else echo "Skipped $d as not a directory."