Merge lp://qastaging/~salvatore-orlando/neutron/bug814518 into lp://qastaging/neutron/diablo
Proposed by
Salvatore Orlando
Status: | Merged |
---|---|
Approved by: | Salvatore Orlando |
Approved revision: | 31 |
Merged at revision: | 34 |
Proposed branch: | lp://qastaging/~salvatore-orlando/neutron/bug814518 |
Merge into: | lp://qastaging/neutron/diablo |
Diff against target: |
72 lines (+31/-3) 3 files modified
quantum/api/api_common.py (+7/-1) tests/unit/test_api.py (+21/-0) tests/unit/testlib_api.py (+3/-2) |
To merge this branch: | bzr merge lp://qastaging/~salvatore-orlando/neutron/bug814518 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dan wendlandt | Approve | ||
Brad Hall (community) | Approve | ||
Review via email: mp+70018@code.qastaging.launchpad.net |
Description of the change
Fixing the issue causing a 400 error to not be raised if an invalid request body was specified.
The issue occurred in port creation, as the request body is optional; an invalid request body was simply ignored.
Also adding unit tests for creating a port without a request body in order to further improve code coverage.
To post a comment you must log in.
Looks good to me