delete python bytecode including pyo before every test run

Change-Id: Ib1cee0ee3d482b23bbaa19956a10bb2e8fc7d559
This commit is contained in:
Lucky samadhiya 2016-09-16 13:56:38 +05:30
parent 16c522bf5e
commit d82ac34d0a

View File

@ -11,7 +11,7 @@ whitelist_externals = find
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = commands =
find . -type f -name "*.pyc" -delete find . -type f -name "*.py[c|o]" -delete
ostestr {posargs} ostestr {posargs}
[testenv:releasenotes] [testenv:releasenotes]