Merge "Fix tox to clean python cache"
authorTomi Juvonen <tomi.juvonen@nokia.com>
Tue, 9 Apr 2019 12:49:28 +0000 (12:49 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 9 Apr 2019 12:49:28 +0000 (12:49 +0000)
tox.ini

diff --git a/tox.ini b/tox.ini
index 2242637..8f734fc 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -34,6 +34,7 @@ passenv =
     SSH_KEY
 changedir = {toxinidir}/doctor_tests
 commands = doctor-test
+           /bin/find {toxinidir} -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
 
 [testenv:pep8]
 changedir = {toxinidir}