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/17 22:10:44 UTC
[08/16] git commit: Use super instead.
Use super instead.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/7f2ebd85
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/7f2ebd85
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/7f2ebd85
Branch: refs/heads/trunk
Commit: 7f2ebd8560adc3cfc1f430eada250385c3c633c5
Parents: cafef12
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Oct 17 20:41:53 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Oct 17 20:42:35 2013 +0200
----------------------------------------------------------------------
libcloud/test/compute/test_elasticstack.py | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/7f2ebd85/libcloud/test/compute/test_elasticstack.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_elasticstack.py b/libcloud/test/compute/test_elasticstack.py
index 5d30bbd..1fb5718 100644
--- a/libcloud/test/compute/test_elasticstack.py
+++ b/libcloud/test/compute/test_elasticstack.py
@@ -23,7 +23,7 @@ from libcloud.compute.drivers.elasticstack import (ElasticStackException,
ElasticStackBaseConnection,
ElasticStackBaseNodeDriver as ElasticStack)
from libcloud.compute.drivers.elastichosts import \
- (ElasticHostsBaseNodeDriver as ElasticHosts)
+ (ElasticHostsNodeDriver as ElasticHosts)
from libcloud.compute.drivers.skalicloud import \
(SkaliCloudNodeDriver as SkaliCloud)
from libcloud.compute.drivers.serverlove import \
@@ -153,9 +153,7 @@ class ElasticHostsTestCase(ElasticStackTestCase, unittest.TestCase):
images = self.driver.list_images()
self.image = [i for i in images if \
i.id == '38df0986-4d85-4b76-b502-3878ffc80161'][0]
-
- ElasticStackTestCase.setUp(self)
- unittest.TestCase.setUp(self)
+ super(ElasticHostsTestCase, self).setUp()
class SkaliCloudTestCase(ElasticStackTestCase, unittest.TestCase):
@@ -169,9 +167,7 @@ class SkaliCloudTestCase(ElasticStackTestCase, unittest.TestCase):
images = self.driver.list_images()
self.image = [i for i in images if \
i.id == '90aa51f2-15c0-4cff-81ee-e93aa20b9468'][0]
-
- ElasticStackTestCase.setUp(self)
- unittest.TestCase.setUp(self)
+ super(SkaliCloudTestCase, self).setUp()
class ServerLoveTestCase(ElasticStackTestCase, unittest.TestCase):
@@ -185,9 +181,7 @@ class ServerLoveTestCase(ElasticStackTestCase, unittest.TestCase):
images = self.driver.list_images()
self.image = [i for i in images if \
i.id == '679f5f44-0be7-4745-a658-cccd4334c1aa'][0]
-
- ElasticStackTestCase.setUp(self)
- unittest.TestCase.setUp(self)
+ super(ServerLoveTestCase, self).setUp()
class ElasticStackMockHttp(MockHttp):