libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [26/33] libcloud git commit: Fix cloudsigma tests
Date Tue, 05 Apr 2016 11:17:17 GMT
Fix cloudsigma tests


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

Branch: refs/heads/requests
Commit: d0f6d22dbefe1de31cd13bdff813bb82c18f1a3d
Parents: 52778e5
Author: anthony-shaw <anthony.p.shaw@gmail.com>
Authored: Fri Apr 1 15:08:25 2016 +1100
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Fri Apr 1 15:08:25 2016 +1100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/d0f6d22d/libcloud/test/compute/test_cloudsigma_v1_0.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_cloudsigma_v1_0.py b/libcloud/test/compute/test_cloudsigma_v1_0.py
index 4c9f2e3..8a73cdd 100644
--- a/libcloud/test/compute/test_cloudsigma_v1_0.py
+++ b/libcloud/test/compute/test_cloudsigma_v1_0.py
@@ -33,10 +33,10 @@ class CloudSigmaAPI10BaseTestCase(object):
     driver_kwargs = {}
 
     def setUp(self):
+        self.driver_klass.connectionCls.conn_class = CloudSigmaHttp
+        CloudSigmaHttp.type = None
         self.driver = self.driver_klass(*self.driver_args,
                                         **self.driver_kwargs)
-        CloudSigmaHttp.type = None
-        self.driver.connectionCls.conn_class = CloudSigmaHttp
 
     def test_list_nodes(self):
         nodes = self.driver.list_nodes()


Mime
View raw message