Merge "modify params transfer mode in test_snapshot_manage"
This commit is contained in:
commit
96107397fe
@ -63,7 +63,7 @@ class SnapshotManageAdminTest(base.BaseVolumeAdminTest):
|
|||||||
# Verify the original snapshot does not exist in snapshot list
|
# Verify the original snapshot does not exist in snapshot list
|
||||||
params = {'all_tenants': 1}
|
params = {'all_tenants': 1}
|
||||||
all_snapshots = self.admin_snapshots_client.list_snapshots(
|
all_snapshots = self.admin_snapshots_client.list_snapshots(
|
||||||
detail=True, params=params)['snapshots']
|
detail=True, **params)['snapshots']
|
||||||
self.assertNotIn(snapshot['id'], [v['id'] for v in all_snapshots])
|
self.assertNotIn(snapshot['id'], [v['id'] for v in all_snapshots])
|
||||||
|
|
||||||
# Manage the snapshot
|
# Manage the snapshot
|
||||||
|
Loading…
Reference in New Issue
Block a user