mirror of https://github.com/apache/cloudstack.git
Fix invalid references
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
63f303933a
commit
8ac1796226
|
|
@ -230,12 +230,12 @@ class TestAccountSnapshotClean(cloudstackTestCase):
|
|||
self.assertEqual(
|
||||
isinstance(qresultset, list),
|
||||
True,
|
||||
"Invalid db query response for snapshot %s" % self.snapshot.id
|
||||
"Invalid db query response for snapshot %s" % snapshot_id
|
||||
)
|
||||
self.assertNotEqual(
|
||||
len(qresultset),
|
||||
0,
|
||||
"No such snapshot %s found in the cloudstack db" % self.snapshot.id
|
||||
"No such snapshot %s found in the cloudstack db" % snapshot_id
|
||||
)
|
||||
snapshotPath = qresultset[0][0]
|
||||
nfsurl = secondaryStore.url
|
||||
|
|
|
|||
|
|
@ -218,12 +218,12 @@ class TestSnapshotLimit(cloudstackTestCase):
|
|||
self.assertEqual(
|
||||
isinstance(qresultset, list),
|
||||
True,
|
||||
"Invalid db query response for snapshot %s" % self.snapshot.id
|
||||
"Invalid db query response for snapshot %s" % snapshot_id
|
||||
)
|
||||
self.assertNotEqual(
|
||||
len(qresultset),
|
||||
0,
|
||||
"No such snapshot %s found in the cloudstack db" % self.snapshot.id
|
||||
"No such snapshot %s found in the cloudstack db" % snapshot_id
|
||||
)
|
||||
snapshotPath = qresultset[0][0]
|
||||
nfsurl = secondaryStore.url
|
||||
|
|
@ -373,12 +373,12 @@ class TestSnapshotLimit(cloudstackTestCase):
|
|||
self.assertEqual(
|
||||
isinstance(qresultset, list),
|
||||
True,
|
||||
"Invalid db query response for snapshot %s" % self.snapshot.id
|
||||
"Invalid db query response for snapshot %s" % snapshot.id
|
||||
)
|
||||
self.assertNotEqual(
|
||||
len(qresultset),
|
||||
0,
|
||||
"No such snapshot %s found in the cloudstack db" % self.snapshot.id
|
||||
"No such snapshot %s found in the cloudstack db" % snapshot.id
|
||||
)
|
||||
|
||||
qresult = qresultset[0]
|
||||
|
|
|
|||
Loading…
Reference in New Issue