e76b82c91b37a821a65e89260c2e4f8e87ea9e5d
11 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Samuel Merritt
|
e76b82c91b |
Fix version requirement for mock library.
One of the tests uses mock.call, which is only available in version 0.8.0 and up. Fixes bug 1066274. Change-Id: I77e4de0908f93326992fc4d4af4a7e54e60b5585 |
||
|
Michael Barton
|
c7e2e9a1f3 |
remove configobj from deps
Change-Id: Ie566e712ba0d3dca543e99efbdb576b19623e73c |
||
|
Michael Barton
|
5e3e9a882d |
local WSGI Request and Response classes
This change replaces WebOb with a mostly compatible local library,
swift.common.swob. Subtle changes to WebOb's API over the years have been a
huge headache. Swift doesn't even run on the current version.
There are a few incompatibilities to simplify the implementation/interface:
* It only implements the header properties we use. More can be easily added.
* Casts header values to str on assignment.
* Response classes ("HTTPNotFound") are no longer subclasses, but partials
on Response, so things like isinstance no longer work on them.
* Unlike newer webob versions, will never return unicode objects.
Change-Id: I76617a0903ee2286b25a821b3c935c86ff95233f
|
||
|
Florian Hines
|
c0537ac6e0 |
Breakout search_devs & add get_builder() for reuse
This moves search_devs into RingBuilder to make it accessible to other utils that need to search the builder. Along the same lines this also adds a load() call to get a RingBuilder instance when working with the builder files. - This adds python-mock >= 0.7 as a dependency for unittests. On Ubuntu 10.04 you'll have to pip install it, on 12.04 you can apt-get install it. Fedora 17+ should be able to yum install it. - new pep8 compliance - Fixed a small issue (undefined var) in swift-ring-builder when remove was called but failed to find a match. Change-Id: I2e02684235aa2f4e901a00858ae037091594c545 |
||
|
Clark Boylan
|
2352b9d66f |
Add nosehtmloutput as a test dependency.
Adding nosehtmloutput as a test dependency allows nose to output its results to an html file. This will be used by Jenkins to save logs on a different server. Change-Id: I6bd4736e8cc4132db65bfe8cdfe1f3a388369fa8 |
||
|
Iryoung Jeong
|
de4d23c2a5 |
Adapt Swift for WebOb 1.2
Based on PatchSet 3 of https://review.openstack.org/#/c/7569/ , make them to pass all funcional tests with both webob 1.x and 1.2.
The additional following compatibility issues were addressed:
- Until patch for range header issue is merged into official webob release, testRangedGetsWithLWSinHeader() should skip test against webob 1.2
(
|
||
|
Chmouel Boudjnah
|
22572b506a |
Remove swift.common.client from here.
- It has been to its own gerrit project. - direct_client should follow next. - Implements blueprint clientbindings. Change-Id: I3bb50c95eba81302bfec71cb7ce5288b85a41dc0 |
||
|
Monty Taylor
|
cb84214b5d |
Add sphinx to test-requires.
Need sphinx in test-requires so that we can build docs in the venv (wanted because module introspection needs build depends installed) Change-Id: If3caf817381aea8e9cd8fb50e7e35c647f088b60 |
||
|
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 |
||
|
John Dickinson
|
3d9672799d |
removed tools/rfc.sh
Change-Id: I297c3801991cbed2c360b3324d005ed003a1108d |
||
|
James E. Blair
|
46c5ed75e1 |
Add rfc.sh to help with gerrit workflow.
Change-Id: If2af58cd4724b440d47385c10f202c9441cdf4bb |