tacker/tacker/tests/unit
Itsuro Oda 00d8f69f09 Refactor wsgi of v2 API
Original purpose of this patch is that replacing deprecated
webob.Accept.best_match method to acceptable_offers to analize
'Accept' header of a HTTP request.

Instead of fixing legacy wsgi code, refactor v2 wsgi code not to
use legacy wsgi code because legacy wsgi code is complicated
and v2 wsgi code uses legacy wsgi code very little.

Original purpose mentioned above is included in the refactoring
at the same time. This patch includes the followng changes
related to wsgi framework too.
* check of Content-Type header is also enhanced.
* check of Version header for api_versions API is relaxed.

Change-Id: I4ca0beda850ecd14d65d7bc1a59d465c5ecfeacb
2022-04-27 22:12:30 +00:00
..
agent Remove test helpers for Python2 2020-10-19 12:11:40 +00:00
api Use skipTest() instead of skip() method 2021-07-12 23:10:31 +00:00
cmd [goal] Deprecate the JSON formatted policy file 2021-01-22 04:18:31 +00:00
common Merge "Retaining permission of VNF package files" 2021-07-26 17:39:23 +00:00
conductor Support CNF update with MgmtDriver 2022-03-10 09:48:55 +00:00
db Add specifying tenant in notification 2022-02-08 19:39:30 +05:30
extensions Use skipTest() instead of skip() method 2021-07-12 23:10:31 +00:00
glance_store Drop most of six importings 2020-10-19 12:10:05 +00:00
hacking Refactoring UT directories 2018-11-12 13:13:39 +00:00
keymgr Refactoring UT directories 2018-11-12 13:13:39 +00:00
mistral Refactoring UT directories 2018-11-12 13:13:39 +00:00
nfvo Support CNF scale operations based on ETSI NFV 2021-02-24 06:25:54 +00:00
objects Add specific tenant to vnf resources 2022-03-09 22:12:17 +05:30
plugins Refactoring UT directories 2018-11-12 13:13:39 +00:00
services Refactoring UT directories 2018-11-12 13:13:39 +00:00
sol_refactored Refactor wsgi of v2 API 2022-04-27 22:12:30 +00:00
tests Drop most of six importings 2020-10-19 12:10:05 +00:00
tosca Refactoring UT directories 2018-11-12 13:13:39 +00:00
vnflcm Support Basic Lifecycle Operations of CNF v2 API 2022-03-17 16:47:09 +09:00
vnfm Fix validate error when k8s resource init 2022-04-26 10:37:28 +09:00
vnfpkgm Add Location to responses of Create VNF Package 2021-09-30 09:36:54 +09:00
__init__.py Add versioned objects for vnf packages 2019-09-18 12:24:39 +00:00
base.py Use unittest.mock instead of third party mock 2020-05-22 12:03:45 +09:00
database_stubs.py Use oslo log and oslo concurrency 2016-06-03 11:38:36 +08:00
extension_stubs.py Cleanup vim settings 2016-03-28 13:03:56 +02:00
fake_auth.py Support of Server/Basic certification in OAuth2.0 2020-10-05 07:18:14 +00:00
fake_request.py Add vnf packages RestFul APIs 2019-09-20 06:48:28 +00:00
fixtures.py Stop to use the __future__ module. 2020-06-02 21:00:17 +02:00
test_alarm_receiver.py Remove test helpers for Python2 2020-10-19 12:11:40 +00:00
test_auth.py Merge "Fix for subscription with OAuth 2.0 authorization" 2022-03-10 03:08:24 +00:00
test_context.py Use unittest.mock instead of third party mock 2020-05-22 12:03:45 +09:00
test_policy.py Drop most of six importings 2020-10-19 12:10:05 +00:00
test_privsep.py Fix failure of testing privsep 2022-03-18 19:25:11 +09:00
test_wsgi.py Use skipTest() instead of skip() method 2021-07-12 23:10:31 +00:00
testlib_api.py Add __ne__ built-in function 2016-11-16 15:40:42 +08:00