summaryrefslogtreecommitdiff
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorChristian Schwede <christian.schwede@enovance.com>2014-04-17 16:45:12 +0000
committerChristian Schwede <christian.schwede@enovance.com>2014-04-17 16:55:14 +0000
commit51f6035f3b8be100fc79605db31676c8b75631e2 (patch)
treefb7ecb1f01454631c307ca7203b2686ba54f9660 /test-requirements.txt
parent856c15539a958dabe3b8a1f22d305048ca39de9a (diff)
downloadswift-51f6035f3b8be100fc79605db31676c8b75631e2.tar.gz
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
Diffstat (limited to 'test-requirements.txt')
-rw-r--r--test-requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 0e3414b8c..a8381622a 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6,5 +6,5 @@ nosexcover
openstack.nose_plugin
nosehtmloutput
sphinx>=1.1.2,<1.2
-mock>=0.8.0
+mock>=1.0
python-swiftclient