Update a test to properly anticipate HTTP 405 for RestController

The behavior of RestController is changing (to be more correct):
https://review.openstack.org/#/c/181979.  Until this change hits PyPI and
global-requirements, ceilometer should accept both the old and new behavior as
valid.

Change-Id: Ieffa3fddc3c8d3152742455ca46d69bcc7208d69
Closes-bug: #1450109
This commit is contained in:
Ryan Petrello 2015-05-12 07:06:45 -07:00
parent c0b9db16a5
commit f59da0da65

View File

@ -53,7 +53,7 @@ tests:
- name: meter delete noexist - name: meter delete noexist
url: /v2/meters/noexist url: /v2/meters/noexist
method: DELETE method: DELETE
status: 404 status: "404 || 405"
- name: post meter no data - name: post meter no data
url: /v2/meters/apples url: /v2/meters/apples