summaryrefslogtreecommitdiff
path: root/.functests
diff options
context:
space:
mode:
authorMaru Newby <mnewby@internap.com>2012-01-31 15:27:29 -0800
committerMaru Newby <mnewby@internap.com>2012-03-07 22:44:34 -0800
commite6ea310751b58be0ad1d06d8acffc2b8fff8e5a3 (patch)
tree88835ec3e296df06a2c131f40278031fe39c362e /.functests
parentad6684a00f3952d5857035f0c2a4305224512567 (diff)
downloadswift-e6ea310751b58be0ad1d06d8acffc2b8fff8e5a3.tar.gz
Add support for venv-based test run with tox.
* Adds tox config - based on the config from python-quantumclient and updated for test, pep8 and coverage execution as per nova's run_tests.sh. * Adds nosetests defaults in setup.cfg * Adds runtime dependencies in tools/pip-requires - dependencies were gathered by referencing the packages used in creation of a Swift All In One. Versions were determined by checking the swift-core/trunk ppa or, failing that, the version available in lucid. * Adds test dependencies in tools/test-requires * Updates swift/common/middleware/formpost.py for pep8 compliance * Adds instructions for executing the tests with Tox to the developer_guidelines * Adds instructions for installing openstack.nose_plugin to developer_saio * Fixes bug 909177 Change-Id: I5407924d2181e9ab335aaf76bf30c8d40deccbb4
Diffstat (limited to '.functests')
-rwxr-xr-x.functests4
1 files changed, 2 insertions, 2 deletions
diff --git a/.functests b/.functests
index a0123679c..fb2b0eb2e 100755
--- a/.functests
+++ b/.functests
@@ -1,4 +1,4 @@
#!/bin/bash
-nosetests test/functional --exe $@
-nosetests test/functionalnosetests --exe $@
+nosetests test/functional $@
+nosetests test/functionalnosetests $@