list the VPCs with vpc id not network id

test failed because of incorrectly listing the VPC using the networkid.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-06-17 22:25:01 +05:30
parent f8965b6f07
commit 363a7b933c
2 changed files with 2 additions and 3 deletions

View File

@ -1651,7 +1651,7 @@ class TestVPC(cloudstackTestCase):
@attr(tags=["advanced", "intervlan"])
def test_11_deploy_vm_wo_network_netdomain(self):
""" Test deployment of vm in a VPC without network netdomain
""" Test deployment of vm in a VPC without network domain
"""
# 1. Create VPC without providing networkDomain.
@ -2410,7 +2410,7 @@ class TestVPC(cloudstackTestCase):
vpc_networks = VPC.list(
self.apiclient,
id=network.id
id=vpc.id
)
self.assertEqual(

View File

@ -21,7 +21,6 @@ from marvin.cloudstackAPI import *
from marvin.integration.lib.utils import *
from marvin.integration.lib.base import *
from marvin.integration.lib.common import *
from marvin import remoteSSHClient
from nose.plugins.attrib import attr
class Services: