magnum/magnum/tests/unit/api/controllers
Bharat Kunwar 0e6d178939 Only allow zero node count from microversion 1.10
At present, all clients can request resize of cluster nodes to zero.
This PS ensures that only requests with 1.10 microversion header or more
are fulfilled.

Story: 2007851
Task: 41841

Additionally, unit tests are also included to ensure that the
microversions are respected for create, update and resizing clusters
with zero node count.

Additionally, unit tests for the following APIs are tested explictly:
- resize API with microversion 1.7
- upgrade API with microversion 1.8
- nodegroup API with microversion 1.9

Story: 2005054
Task: 41840

Change-Id: Iba9d619d2e92abcbaa3eca5da68f5e0f203dea8d
2021-02-16 14:04:36 +00:00
..
v1 Only allow zero node count from microversion 1.10 2021-02-16 14:04:36 +00:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
auth-paste.ini Remove deprecated usage of CORS.set_latent 2017-08-18 11:16:02 +08:00
auth-root-access.ini Remove deprecated usage of CORS.set_latent 2017-08-18 11:16:02 +08:00
auth-v1-access.ini Remove deprecated usage of CORS.set_latent 2017-08-18 11:16:02 +08:00
noauth-paste.ini Remove deprecated usage of CORS.set_latent 2017-08-18 11:16:02 +08:00
test_base.py [goal] Prepare pep8 testing for Ubuntu Focal 2020-09-09 13:31:45 +05:30
test_root.py Allow nodegroups with node_count equal to 0 2021-02-04 13:07:18 +00:00