Merge "modify params transfer mode in test_snapshot_manage"

This commit is contained in:
Zuul 2018-01-02 09:09:19 +00:00 committed by Gerrit Code Review
commit 96107397fe

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