mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5674: apiclient was used before it was created. Fixed it.
This commit is contained in:
parent
f3a77c79e8
commit
aa2831231c
|
|
@ -34,8 +34,8 @@ class TestDeployVmWithAffinityGroup(cloudstackTestCase):
|
|||
def setUpClass(cls):
|
||||
cls.testClient = super(TestDeployVmWithAffinityGroup, cls).getClsTestClient()
|
||||
zone_name = cls.testClient.getZoneForTests()
|
||||
cls.domain = get_domain(cls.apiclient)
|
||||
cls.apiclient = cls.testClient.getApiClient()
|
||||
cls.domain = get_domain(cls.apiclient)
|
||||
cls.services = cls.testClient.getParsedTestDataConfig()
|
||||
# Get Zone, Domain and templates
|
||||
cls.zone = get_zone(cls.apiclient, cls.testClient.getZoneForTests())
|
||||
|
|
|
|||
Loading…
Reference in New Issue