5 Commits

Author SHA1 Message Date
Maru Newby
e6ea310751 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
2012-03-07 22:44:34 -08:00
Chmouel Boudjnah
5a145145ac Allow to pass arguments to nosetest.
When running .functests or .unittests allow to pass argument on the
command line for nosetests.

Fixes bug 925636

Change-Id: Icb07c192328528900b502fbc937b9c83f70a4b0f
2012-02-02 19:47:39 +01:00
David Goetz
db4689689a minor bug fixes- pre ratelimit caching of container size 2010-10-06 13:11:58 -07:00
gholt
1e1cbc34e6 Func tests for account/container metadata 2010-08-16 19:06:28 -07:00
Chuck Thier
001407b969 Initial commit of Swift code 2010-07-12 17:03:45 -05:00