]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
Revert "tox: Cleanup '.pyc' files before run"
authorStephen Finucane <stephen.finucane@intel.com>
Fri, 11 Mar 2016 19:04:28 +0000 (19:04 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Fri, 11 Mar 2016 19:28:30 +0000 (19:28 +0000)
This reverts commit 8e58c29f23b9cc072c003268d641f00084ce3b3b.

The benefits added by this change did not outweigh the cost it
introduces in test run time.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 33b8ee1c798b5d7395d66d54853217775711535a..d1703251a1978ea805bc4c0c2cdb3dade20e15dc 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,6 @@ envlist = py{27,34}-django{16,17,18,19}
 skipsdist = True
 
 [testenv]
-whitelist_externals = find
 deps =
     -r{toxinidir}/requirements-test.txt
     django16: django>=1.6,<1.7
@@ -18,7 +17,6 @@ passenv =
     PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS
     DISPLAY SELENIUM_BROWSER PW_SKIP_BROWSER_TESTS
 commands =
-    find . -type f -name "*.pyc" -delete
     {toxinidir}/manage.py test --noinput --liveserver=localhost:9000-9200 \
         '{posargs:patchwork}'