Pass wrong params in test_unmanage_manage_snapshot when use list_snapshot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Liang Cui |
Bug Description
In tempest\
@decorators.
def test_unmanage_
# Create a volume
volume = self.create_
# Create a snapshot
snapshot = self.create_
# Unmanage the snapshot
# Unmanage snapshot function works almost the same as delete snapshot,
# but it does not delete the snapshot data
# Verify the original snapshot does not exist in snapshot list
params = {'all_tenants': 1}
when pass params to snapshots_
def list_snapshots(
"""List all the snapshot.
For a full list of available parameters, please refer to the official
API reference:
http://
http://
"""
url = 'snapshots'
if detail:
url += '/detail'
if params:
url += '?%s' % urllib.
resp, body = self.get(url)
body = json.loads(body)
return rest_client.
the params has been changed to '{'params': {'all_tenant': 1}}', but it should be {'all_tenants': 1}
the response body is
Response - Headers: {'status': '500', u'content-length': '128', 'content-location': 'https:/
Changed in tempest: | |
assignee: | nobody → Liang Cui (liangcui) |
Fix proposed to branch: master /review. openstack. org/530671
Review: https:/