Fix tox to clean python cache 00/67500/1
authorTomi Juvonen <tomi.juvonen@nokia.com>
Mon, 8 Apr 2019 17:06:31 +0000 (20:06 +0300)
committerTomi Juvonen <tomi.juvonen@nokia.com>
Mon, 8 Apr 2019 17:07:35 +0000 (20:07 +0300)
Change-Id: I237ca87390966e66d3f908dcd9e7dc9cfcf35a9a
Signed-off-by: Tomi Juvonen <tomi.juvonen@nokia.com>
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}