Skip to content

Commit

Permalink
Run tests from the correct directory (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbekoe authored Jan 10, 2018
1 parent adcbc46 commit 4087923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/test_source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 4087923

Please sign in to comment.