mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6511: fixed for bvt and component test failures
This commit is contained in:
parent
bf188fc13b
commit
e9fb906599
|
|
@ -124,7 +124,7 @@ class TestNic(cloudstackTestCase):
|
|||
except Exception as ex:
|
||||
self.debug("Exception during NIC test SETUP!: " + str(ex))
|
||||
|
||||
@attr(tags = ["devcloud", "advanced", "advancedns", "smoke", "basic", "sg", "provisioning"])
|
||||
@attr(tags = ["devcloud", "smoke", "basic", "sg", "provisioning"])
|
||||
def test_01_nic(self):
|
||||
#TODO: SIMENH: add validation
|
||||
"""Test to add and update added nic to a virtual machine"""
|
||||
|
|
|
|||
|
|
@ -25,13 +25,13 @@ from marvin.cloudstackTestCase import cloudstackTestCase
|
|||
#Import Integration Libraries
|
||||
|
||||
#base - contains all resources as entities and defines create, delete, list operations on them
|
||||
from marvin.integration.lib.base import Account, VirtualMachine, Cluster, Host, ServiceOffering, Configurations, SimulatorMock
|
||||
from marvin.lib.base import Account, VirtualMachine, Cluster, Host, ServiceOffering, Configurations, SimulatorMock
|
||||
|
||||
#utils - utility classes for common cleanup, external library wrappers etc
|
||||
from marvin.integration.lib.utils import cleanup_resources
|
||||
from marvin.lib.utils import cleanup_resources
|
||||
|
||||
#common - commonly used methods for all tests are listed here
|
||||
from marvin.integration.lib.common import get_zone, get_domain, get_template
|
||||
from marvin.lib.common import get_zone, get_domain, get_template
|
||||
|
||||
from nose.plugins.attrib import attr
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class TestCreateVolume(cloudstackTestCase):
|
|||
cls.services["disk_offering"]
|
||||
)
|
||||
cls.sparse_disk_offering = DiskOffering.create(
|
||||
cls.api_client,
|
||||
cls.apiclient,
|
||||
cls.services["sparse_disk_offering"]
|
||||
)
|
||||
cls.custom_disk_offering = DiskOffering.create(
|
||||
|
|
|
|||
|
|
@ -74,3 +74,5 @@ ADMIN = 1
|
|||
DOMAIN_ADMIN = 2
|
||||
USER = 0
|
||||
XEN_SERVER = "XenServer"
|
||||
ADMIN_ACCOUNT='ADMIN_ACCOUNT'
|
||||
USER_ACCOUNT='USER_ACCOUNT'
|
||||
|
|
|
|||
Loading…
Reference in New Issue