]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Raising error if invalid attribute passed in.
authorJason Zhang <zhesen@nttmcl.com>
Wed, 13 Feb 2013 02:40:12 +0000 (18:40 -0800)
committerJason Zhang <zhesen@nttmcl.com>
Tue, 19 Feb 2013 19:38:53 +0000 (11:38 -0800)
commit61bdda62e8950a9747073e2be7b81cdea0af2f25
treef87b5245daab8a90dba7c4dd95b4e1c4c7c40470
parent61b2cf8e6e7cf520876443d1d64c100645746ae4
Raising error if invalid attribute passed in.

400 will be returned when invalid attributes
are passed into Quantum API.

Fixed the some test cases failed since the
enforcement of invalid attribute checking

Fixes: bug #1076179
Change-Id: I4e9e2891c444f9dcd051f7b325d3c9403b28db86
quantum/api/v2/base.py
quantum/tests/unit/test_api_v2.py
quantum/tests/unit/test_db_plugin.py
quantum/tests/unit/test_servicetype.py