Delete python bytecode before every test run.

This should eliminate the need to clean -x -i to kill pyc files in
your local directory to get tests to pass.

Change-Id: Ia6f81dfd1c6487c293012623a165d9dd474b0f4f
Closes-Bug: #1368661
This commit is contained in:
hparekh 2015-12-07 17:59:45 +09:00
parent 7264fe6ee1
commit c47714c759

@ -11,8 +11,11 @@ setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1
deps = -r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
python setup.py testr --slowest --testr-args='{posargs}'
whitelist_externals = rm
whitelist_externals =
rm
find
[testenv:unit-postgresql]
setenv = VIRTUAL_ENV={envdir}