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: I668c1baac23b29750fa19ccb0a4302504399dd75
This commit is contained in:
parent
87a74ece9d
commit
820f9f4b10
5
tox.ini
5
tox.ini
|
@ -10,7 +10,10 @@ setenv =
|
|||
VIRTUAL_ENV={envdir}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = /bin/bash run_tests.sh -N --no-pep8 {posargs}
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
/bin/bash run_tests.sh -N --no-pep8 {posargs}
|
||||
whitelist_externals = find
|
||||
|
||||
[testenv:py27]
|
||||
setenv = DJANGO_SETTINGS_MODULE=mistraldashboard.test.settings
|
||||
|
|
Loading…
Reference in New Issue