Remove .pyc files before performing functional tests
This will remove the .pyc files from the functionaltests path. Will avoid conditions where timestamps get out of sync. Change-Id: I8bb3b96d6164eb365477cf6cc1eb2cf38f6d4206
This commit is contained in:
parent
803a8a0256
commit
cfe64bc30c
3
tox.ini
3
tox.ini
@ -7,6 +7,7 @@ deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
commands =
|
||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||
python setup.py testr --coverage --testr-args='{posargs}'
|
||||
coverage combine
|
||||
coverage report -m
|
||||
@ -26,6 +27,7 @@ deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
commands =
|
||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||
python -m testtools.run \
|
||||
barbican.tests.common.test_utils \
|
||||
barbican.tests.common.test_hrefs \
|
||||
@ -60,6 +62,7 @@ commands=
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
setenv = OS_TEST_PATH={toxinidir}/functionaltests
|
||||
commands =
|
||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||
/bin/bash {toxinidir}/functionaltests/pretty_tox.sh '{posargs}'
|
||||
|
||||
[flake8]
|
||||
|
Loading…
Reference in New Issue
Block a user