You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2013/10/03 10:22:53 UTC

[2/3] git commit: Set all MockHttpType.type attributes to None in setUp.

Set all MockHttpType.type attributes to None in setUp.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/32f59e93
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/32f59e93
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/32f59e93

Branch: refs/heads/trunk
Commit: 32f59e93e7142a14678f3c47956059059aad8bf3
Parents: 530b261
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Oct 3 09:17:52 2013 +0100
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Oct 3 09:17:52 2013 +0100

----------------------------------------------------------------------
 libcloud/test/compute/test_openstack.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/32f59e93/libcloud/test/compute/test_openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_openstack.py b/libcloud/test/compute/test_openstack.py
index 30f78e3..f1a6385 100644
--- a/libcloud/test/compute/test_openstack.py
+++ b/libcloud/test/compute/test_openstack.py
@@ -719,6 +719,8 @@ class OpenStack_1_1_Tests(unittest.TestCase, TestCaseMixin):
     def setUp(self):
         self.driver_klass.connectionCls.conn_classes = (OpenStack_2_0_MockHttp, OpenStack_2_0_MockHttp)
         self.driver_klass.connectionCls.auth_url = "https://auth.api.example.com/v2.0/"
+        OpenStackMockHttp.type = None
+        OpenStack_1_1_MockHttp.type = None
         OpenStack_2_0_MockHttp.type = None
         self.driver = self.create_driver()