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:
liangcui 2018-01-02 10:51:03 +08:00
parent 7541031d17
commit c4d1ad1e4b

View File

@ -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