Fix test-requirements.txt

mock >= 1.0 changed the behavior for iterable sideeffects. Any
exceptions in an iterable side_effect will now be raised instead of
returned.

With mock < 1.0 tests are failing, because test for the
internal client (TestSimpleClient.test_get_with_retries) use an
iterable sideeffect that raise an URLError on the first request
and pass on the second request.

Change-Id: I568b68c33ff599d7a4f590e2a0eb8caeee4b4d4e
This commit is contained in:
Christian Schwede 2014-04-17 16:45:12 +00:00
parent 856c15539a
commit 51f6035f3b

View File

@ -6,5 +6,5 @@ nosexcover
openstack.nose_plugin openstack.nose_plugin
nosehtmloutput nosehtmloutput
sphinx>=1.1.2,<1.2 sphinx>=1.1.2,<1.2
mock>=0.8.0 mock>=1.0
python-swiftclient python-swiftclient