diff --git a/test/integration/component/test_snapshot_gc.py b/test/integration/component/test_snapshot_gc.py index 04328e89853..7727d1cf41c 100644 --- a/test/integration/component/test_snapshot_gc.py +++ b/test/integration/component/test_snapshot_gc.py @@ -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 diff --git a/test/integration/component/test_snapshot_limits.py b/test/integration/component/test_snapshot_limits.py index a1cd45d0396..429e67e0b87 100644 --- a/test/integration/component/test_snapshot_limits.py +++ b/test/integration/component/test_snapshot_limits.py @@ -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]