You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/05/21 21:34:16 UTC
[18/50] [abbrv] git commit: updated refs/heads/ui-vpc-redesign to
e35f144
Fixing TestVMLifeCycle class
Missed the reference to zone listed in setUpClass()
Signed-off-by: Prasanna Santhanam <ts...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/145a116c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/145a116c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/145a116c
Branch: refs/heads/ui-vpc-redesign
Commit: 145a116c9bbe69e3c5cb026ce9d659f449137d30
Parents: aa60105
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Mon May 20 22:05:07 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Mon May 20 22:05:53 2013 +0530
----------------------------------------------------------------------
test/integration/smoke/test_vm_life_cycle.py | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/145a116c/test/integration/smoke/test_vm_life_cycle.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_vm_life_cycle.py b/test/integration/smoke/test_vm_life_cycle.py
index 3f7c17b..d52ed9b 100644
--- a/test/integration/smoke/test_vm_life_cycle.py
+++ b/test/integration/smoke/test_vm_life_cycle.py
@@ -292,28 +292,28 @@ class TestVMLifeCycle(cloudstackTestCase):
# Get Zone, Domain and templates
domain = get_domain(cls.api_client, cls.services)
- zone = get_zone(cls.api_client, cls.services)
- cls.services['mode'] = zone.networktype
+ cls.zone = get_zone(cls.api_client, cls.services)
+ cls.services['mode'] = cls.zone.networktype
#if local storage is enabled, alter the offerings to use localstorage
#this step is needed for devcloud
- if zone.localstorageenabled == True:
+ if cls.zone.localstorageenabled == True:
cls.services["service_offerings"]["tiny"]["storagetype"] = 'local'
cls.services["service_offerings"]["small"]["storagetype"] = 'local'
cls.services["service_offerings"]["medium"]["storagetype"] = 'local'
template = get_template(
cls.api_client,
- zone.id,
+ cls.zone.id,
cls.services["ostype"]
)
# Set Zones and disk offerings
- cls.services["small"]["zoneid"] = zone.id
+ cls.services["small"]["zoneid"] = cls.zone.id
cls.services["small"]["template"] = template.id
- cls.services["medium"]["zoneid"] = zone.id
+ cls.services["medium"]["zoneid"] = cls.zone.id
cls.services["medium"]["template"] = template.id
- cls.services["iso"]["zoneid"] = zone.id
+ cls.services["iso"]["zoneid"] = cls.zone.id
# Create VMs, NAT Rules etc
cls.account = Account.create(