Convert /v3/users to use flask native dispatching. The following test changes were required: * Application Credentials did not have the plural form in the JSON Home document. The JSON Home document was corrected both in code and in tests. * Application Credentials "patch" test needed to be refactored to look for METHOD_NOT_ALLOWED instead of NOT FOUND for invalid/unimplemented methods. The "assertValidErrorResponse" method was insufficient and the test now uses the flask test_client mechanism instead. Change-Id: Iedaf405d11450b11e2d1fcdfae45ccb8eeb6f255 Partial-Bug: #1776504
14 lines
605 B
Python
14 lines
605 B
Python
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
from keystone.application_credential.core import * # noqa
|