py27 compat fixes

This commit is contained in:
Manuel Barkhau 2018-12-09 15:57:04 +01:00
parent 2017a773b6
commit 00fdabed32
7 changed files with 43 additions and 7 deletions

View file

@ -323,7 +323,7 @@ pylint:
## Run pytest unit and integration tests
.PHONY: test
test:
test: $(COMPAT_TEST_FILES)
@rm -rf ".pytest_cache";
@rm -rf "src/__pycache__";
@rm -rf "test/__pycache__";
@ -346,7 +346,7 @@ test:
for i in $${!env_paths[@]}; do \
env_py=$${env_paths[i]}/bin/python; \
$${env_py} -m pip install --upgrade build/test_wheel/*.whl; \
ENV=$${ENV-dev} $${env_py} -m pytest test/; \
ENV=$${ENV-dev} $${env_py} -m pytest --verbose compat_test/; \
done;
@rm -rf ".pytest_cache";