CLOUDSTACK-6511: fixed for bvt and component test failures

This commit is contained in:
SrikanteswaraRao Talluri 2014-04-25 18:08:47 +05:30
parent bf188fc13b
commit e9fb906599
4 changed files with 7 additions and 5 deletions

View File

@ -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"""

View File

@ -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

View File

@ -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(

View File

@ -74,3 +74,5 @@ ADMIN = 1
DOMAIN_ADMIN = 2
USER = 0
XEN_SERVER = "XenServer"
ADMIN_ACCOUNT='ADMIN_ACCOUNT'
USER_ACCOUNT='USER_ACCOUNT'