unplugged-vendor/external/python/pyfakefs/.travis/run_pytest_plugin_test.sh

10 lines
317 B
Bash
Executable File

#!/bin/bash
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
source ~/.venv/bin/activate
fi
python -m pytest pyfakefs/pytest_tests/pytest_plugin_failing_test.py > ./testresult.txt
python -m pytest pyfakefs/pytest_tests/pytest_check_failed_plugin_test.py && \
python -m pytest pyfakefs/pytest_tests/pytest_plugin_test.py