Skip to content

Commit 698da2a

Browse files
author
Prasanna Santhanam
committed
Minor tagging and comments in tests
Adding tags to the deployvm test from the marvin tutorial Adding docstrings to the vm snapshot tests Add tag to the pvlan test Signed-off-by: Prasanna Santhanam <tsp@apache.org>
1 parent a67728b commit 698da2a

3 files changed

Lines changed: 314 additions & 308 deletions

File tree

‎test/integration/smoke/test_deploy_vm.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
#common - commonly used methods for all tests are listed here
3232
from marvin.integration.lib.common import get_zone, get_domain, get_template
3333

34+
from nose.plugins.attrib import attr
35+
3436
class TestData(object):
3537
"""Test data object that is required to create resources
3638
"""
@@ -94,6 +96,7 @@ def setUp(self):
9496
self.account
9597
]
9698

99+
@attr(tags = ['advanced', 'simulator', 'basic', 'sg'])
97100
def test_deploy_vm(self):
98101
"""Test Deploy Virtual Machine
99102

‎test/integration/smoke/test_pvlan.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class TestPVLAN(cloudstackTestCase):
4141
def setUp(self):
4242
self.apiClient = self.testClient.getApiClient()
4343

44+
@attr(tags = ["advanced"])
4445
def test_create_pvlan_network(self):
4546
self.debug("Test create pvlan network")
4647
createNetworkCmd = createNetwork.createNetworkCmd()

0 commit comments

Comments
 (0)