)]}'
{"ceilometer/tests/gabbi/gabbits/meters.yaml":[{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"43bcf6b680e2d2fcd2bd5d3b4383b36232799db6","unresolved":false,"context_lines":[{"line_number":63,"context_line":"      data: \"\""},{"line_number":64,"context_line":"      status: 400"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    - name: post meter error is JSON"},{"line_number":67,"context_line":"      desc: https://bugs.launchpad.net/ceilometer/+bug/1426483"},{"line_number":68,"context_line":"      xfail: true"},{"line_number":69,"context_line":"      url: /v2/meters/apples"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"1a6ced46_bca171ab","line":66,"updated":"2015-03-23 15:52:18.000000000","message":"is there a difference between this and the one above? (except that it checks response values)\n\ni might be missing something obvious","commit_id":"97f9ec87978323318ca4a25ec96b1d2c36f02996"},{"author":{"_account_id":6537,"name":"gordon chung","email":"gord@live.ca","username":"chungg"},"change_message_id":"10adeec0b220d3133672e8fd6ec83a4a8910120c","unresolved":false,"context_lines":[{"line_number":63,"context_line":"      data: \"\""},{"line_number":64,"context_line":"      status: 400"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    - name: post meter error is JSON"},{"line_number":67,"context_line":"      desc: https://bugs.launchpad.net/ceilometer/+bug/1426483"},{"line_number":68,"context_line":"      xfail: true"},{"line_number":69,"context_line":"      url: /v2/meters/apples"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"1a6ced46_5a1a3818","line":66,"in_reply_to":"1a6ced46_934ae381","updated":"2015-03-23 17:53:41.000000000","message":"ah cool cool","commit_id":"97f9ec87978323318ca4a25ec96b1d2c36f02996"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"c1a2dd5dfd6aa0f846255a8ad41e5190b1a714f1","unresolved":false,"context_lines":[{"line_number":63,"context_line":"      data: \"\""},{"line_number":64,"context_line":"      status: 400"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    - name: post meter error is JSON"},{"line_number":67,"context_line":"      desc: https://bugs.launchpad.net/ceilometer/+bug/1426483"},{"line_number":68,"context_line":"      xfail: true"},{"line_number":69,"context_line":"      url: /v2/meters/apples"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"1a6ced46_934ae381","line":66,"in_reply_to":"1a6ced46_bca171ab","updated":"2015-03-23 16:29:39.000000000","message":"The one above succeeds and demonstrates that the response code is the expected 400.\n\nThis one is an xfail and demonstrates that the response, though formatted as JSON, is not being sent with the appropriate content-type, thus the response cannot be parsed.\n\nThey are done as two separate tests so that the positive assertion about the 400 can still pass while the json part is shown to fail.\n\nI hope that makes some sense.\n\nThe idea is that one the bug is fixed then the xfail can go away, in which case the test above could do as it will be redundant.","commit_id":"97f9ec87978323318ca4a25ec96b1d2c36f02996"}]}
