From c4d1ad1e4b170e8e7e562f05623c6b0a96abae63 Mon Sep 17 00:00:00 2001 From: liangcui Date: Tue, 2 Jan 2018 10:51:03 +0800 Subject: [PATCH] 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 --- tempest/api/volume/admin/test_snapshot_manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempest/api/volume/admin/test_snapshot_manage.py b/tempest/api/volume/admin/test_snapshot_manage.py index 3b21b284cb..37a47ec293 100644 --- a/tempest/api/volume/admin/test_snapshot_manage.py +++ b/tempest/api/volume/admin/test_snapshot_manage.py @@ -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