mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-04 20:29:27 +01:00
Fix attr plugin import and class reference
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
40f38521c4
commit
34eabd957c
@ -24,9 +24,8 @@ from marvin.cloudstackAPI import *
|
|||||||
from marvin.integration.lib.utils import *
|
from marvin.integration.lib.utils import *
|
||||||
from marvin.integration.lib.base import *
|
from marvin.integration.lib.base import *
|
||||||
from marvin.integration.lib.common import *
|
from marvin.integration.lib.common import *
|
||||||
from marvin.remoteSSHClient import remoteSSHClient
|
|
||||||
import datetime
|
|
||||||
import netaddr
|
import netaddr
|
||||||
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
""" Test networks in advanced zone with security groups"""
|
""" Test networks in advanced zone with security groups"""
|
||||||
@ -156,7 +155,7 @@ class TestNetworksInAdvancedSG(cloudstackTestCase):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
cls.api_client = super(
|
cls.api_client = super(
|
||||||
TestSharedNetworks,
|
TestNetworksInAdvancedSG,
|
||||||
cls
|
cls
|
||||||
).getClsTestClient().getApiClient()
|
).getClsTestClient().getApiClient()
|
||||||
|
|
||||||
@ -687,7 +686,7 @@ class TestNetworksInAdvancedSG(cloudstackTestCase):
|
|||||||
"The network offering state should get updated to Enabled."
|
"The network offering state should get updated to Enabled."
|
||||||
)
|
)
|
||||||
|
|
||||||
physical_network = list_physical_networks_response[0]
|
physical_network = PhysicalNetwork.list(self.api_client)[0]
|
||||||
|
|
||||||
#create network using the shared network offering created
|
#create network using the shared network offering created
|
||||||
self.services["shared_network_sg"]["acltype"] = "domain"
|
self.services["shared_network_sg"]["acltype"] = "domain"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user