From 51f6035f3b8be100fc79605db31676c8b75631e2 Mon Sep 17 00:00:00 2001 From: Christian Schwede Date: Thu, 17 Apr 2014 16:45:12 +0000 Subject: [PATCH] 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 --- test-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 0e3414b8c8..a8381622a8 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