libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [2/3] git commit: Set all MockHttpType.type attributes to None in setUp.
Date Thu, 03 Oct 2013 08:22:53 GMT
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 <tomaz@apache.org>
Authored: Thu Oct 3 09:17:52 2013 +0100
Committer: Tomaz Muraus <tomaz@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()
 


Mime
View raw message