CLOUDSTACK-8466: Fixed import error in testpath_snapshot_limits.py

Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This commit is contained in:
Gaurav Aradhye 2015-05-13 11:12:09 +05:30
parent bcb33b3815
commit b8e82a97b6

View File

@ -34,7 +34,7 @@ from marvin.lib.common import (get_domain,
get_template get_template
) )
from marvin.codes import (BACKEDUP, PASS, FAIL) from marvin.codes import (BACKED_UP, PASS, FAIL)
class TestStorageSnapshotsLimits(cloudstackTestCase): class TestStorageSnapshotsLimits(cloudstackTestCase):
@ -202,7 +202,7 @@ class TestStorageSnapshotsLimits(cloudstackTestCase):
# Verify Snapshot state # Verify Snapshot state
self.assertEqual( self.assertEqual(
snapshots_list[0].state.lower() in [ snapshots_list[0].state.lower() in [
BACKEDUP, BACKED_UP,
], ],
True, True,
"Snapshot state is not as expected. It is %s" % "Snapshot state is not as expected. It is %s" %
@ -285,7 +285,7 @@ class TestStorageSnapshotsLimits(cloudstackTestCase):
# Verify Snapshot state # Verify Snapshot state
self.assertEqual( self.assertEqual(
snapshots_list[0].state.lower() in [ snapshots_list[0].state.lower() in [
BACKEDUP, BACKED_UP,
], ],
True, True,
"Snapshot state is not as expected. It is %s" % "Snapshot state is not as expected. It is %s" %
@ -321,7 +321,7 @@ class TestStorageSnapshotsLimits(cloudstackTestCase):
# Verify Snapshot state # Verify Snapshot state
self.assertEqual( self.assertEqual(
snapshots_list[0].state.lower() in [ snapshots_list[0].state.lower() in [
BACKEDUP, BACKED_UP,
], ],
True, True,
"Snapshot state is not as expected. It is %s" % "Snapshot state is not as expected. It is %s" %