From 4087923b235a58b6cead9d1a6350af8eef0c5640 Mon Sep 17 00:00:00 2001 From: Derek Bekoe Date: Wed, 10 Jan 2018 14:40:59 -0800 Subject: [PATCH] Run tests from the correct directory (#34) --- scripts/ci/test_source.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."