Fix some gabbi tests
Some asserts done by gabbi was failling due to: https://github.com/cdent/wsgi-intercept/pull/32 Since the fix have been released the tests now pass. Closes-bug: #1426483 Change-Id: I932707e59a6e3b4d753532456877b4d1383aa7c5
This commit is contained in:
parent
c21f377128
commit
76ec7420f8
|
@ -64,8 +64,6 @@ tests:
|
|||
status: 400
|
||||
|
||||
- name: post meter error is JSON
|
||||
desc: https://bugs.launchpad.net/ceilometer/+bug/1426483
|
||||
xfail: true
|
||||
url: /v2/meters/apples?direct=True
|
||||
method: POST
|
||||
request_headers:
|
||||
|
@ -75,8 +73,7 @@ tests:
|
|||
response_headers:
|
||||
content-type: /application/json/
|
||||
response_json_paths:
|
||||
error_message:
|
||||
faulstring: 'Missing argument: "samples"'
|
||||
$.error_message.faultstring: "Samples should be included in request body"
|
||||
|
||||
- name: post meter bad content-type
|
||||
desc: https://bugs.launchpad.net/wsme/+bug/1419110
|
||||
|
|
|
@ -96,8 +96,6 @@ tests:
|
|||
|
||||
- name: negative limit value error message
|
||||
url: /v2/samples?limit=-99
|
||||
desc: https://bugs.launchpad.net/ceilometer/+bug/1426483
|
||||
xfail: true
|
||||
status: 400
|
||||
response_headers:
|
||||
content-type: /application/json/
|
||||
|
@ -151,8 +149,6 @@ tests:
|
|||
|
||||
- name: attempt missing sample
|
||||
url: /v2/samples/davesnothere
|
||||
desc: https://bugs.launchpad.net/ceilometer/+bug/1426483
|
||||
xfail: true
|
||||
status: 404
|
||||
response_headers:
|
||||
content-type: /application/json/
|
||||
|
|
Loading…
Reference in New Issue