libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [2/5] git commit: Add missing setUp method to some OpenStack tests.
Date Fri, 05 Jul 2013 13:54:09 GMT
Add missing setUp method to some OpenStack tests.

Conflicts:
	libcloud/test/compute/test_openstack.py


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

Branch: refs/heads/trunk
Commit: 3bc2f69d93980449c3dc450fdeb5a53e0aae085b
Parents: a918be4
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Wed Jun 26 19:13:25 2013 +0200
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Fri Jul 5 15:25:10 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/3bc2f69d/libcloud/test/compute/test_openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_openstack.py b/libcloud/test/compute/test_openstack.py
index 16f081a..09ce48d 100644
--- a/libcloud/test/compute/test_openstack.py
+++ b/libcloud/test/compute/test_openstack.py
@@ -104,6 +104,9 @@ class OpenStackServiceCatalogTests(unittest.TestCase):
 
 class OpenStackAuthConnectionTests(unittest.TestCase):
     # TODO refactor and move into libcloud/test/common
+    def setUp(self):
+        OpenStackBaseConnection.conn_classes = (OpenStackMockHttp,
+                                                OpenStackMockHttp)
 
     def test_basic_authentication(self):
         tuples = [


Mime
View raw message