modify params transfer mode in test_snapshot_manage
In test_snapshot_manage, when use list_snapshot, the params is wrong used. Change-Id: I7567b0aa15cab851ea15da56b214cbdddcfdada1 Closes-bug: #1740811
This commit is contained in:
parent
7541031d17
commit
c4d1ad1e4b
@ -63,7 +63,7 @@ class SnapshotManageAdminTest(base.BaseVolumeAdminTest):
|
||||
# Verify the original snapshot does not exist in snapshot list
|
||||
params = {'all_tenants': 1}
|
||||
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])
|
||||
|
||||
# Manage the snapshot
|
||||
|
Loading…
Reference in New Issue
Block a user