summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-04 17:40:37 +0000
committerGerrit Code Review <review@openstack.org>2016-03-04 17:40:37 +0000
commitb65d994937682143f0999d7d2ea223d601827252 (patch)
tree67f8e90f0d4550ce16b9199692664dee0a72690a /tox.ini
parent343ecbcfa2c62896f35722cb478f1a60d633a3d3 (diff)
parentf179c36aea50ab2dbb8a3d2fb43ea032e8c455e2 (diff)
downloadpython-swiftclient-b65d994937682143f0999d7d2ea223d601827252.tar.gz
Merge "Drop *.dbm* before running tests"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 96ebf22..717128b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,9 +12,9 @@ setenv =
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-commands = sh -c 'find . -not \( -type d -name .?\* -prune \) \
+commands = sh -c '(find . -not \( -type d -name .?\* -prune \) \
\( -type d -name "__pycache__" -or -type f -name "*.py[co]" \) \
- -print0 | xargs -0 rm -rf'
+ -print0; find . -name "*.dbm*" -print0) | xargs -0 rm -rf'
python setup.py testr --testr-args="{posargs}"
whitelist_externals = sh
passenv = SWIFT_* *_proxy