tacker/tacker/tests/unit
Yi Feng e2db1c7a40 Fix validate error when k8s resource init
This patch fixes the issue that k8s failed to initialize object due
to version upgrade. Skip initial validation by setting the
`client_side_validation` parameter and remove the must_param
variable that was previously set in order to pass the validation.

In kubernetes v23.3.0, 'available_replicas' must be set into status
of `StatefulSet`, so this patch also add a kuryr-kubernetes versioned
parameter temporarily to .zuul.yaml to make the response returned
by kubernetes correct.

Closes-Bug: #1968103
Change-Id: I9495ce0f0893e5f9a1d6c52b98c3db3928bd95a3
2022-04-26 10:37:28 +09: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 Fix validate error when k8s resource init 2022-04-26 10:37:28 +09: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