ironic/ironic/tests/unit/api/controllers/v1
Steve Baker 8677be53b7 Duplicate trait validation with jsonschema
This change implements the same validation rules as the validate_trait
function, but with jsonschema.

When the 3 uses of validate_trait are converted to using jsonschema
for post (and patch) calls, this function can be deleted.

Change-Id: Ie2c0f32f254275007b491748e2a63fa94aa09434
Story: 1651346
Task: 10551
2020-11-16 10:39:40 +13:00
..
__init__.py Put tests in correct location for ironic/api/controllers/v1/ 2017-08-04 06:36:57 -07:00
test_allocation.py Enforce autospec in some api controllers modules 2020-11-02 18:01:46 +01:00
test_chassis.py Merge "Use unittest.mock instead of mock" 2020-06-22 16:57:36 +00:00
test_conductor.py Merge "Use unittest.mock instead of mock" 2020-06-22 16:57:36 +00:00
test_deploy_template.py Do not verify error messages from jsonpatch in unit tests 2020-07-07 17:43:12 +02:00
test_driver.py Use unittest.mock instead of mock 2020-06-11 14:15:41 +02:00
test_event.py Use unittest.mock instead of mock 2020-06-11 14:15:41 +02:00
test_expose.py Rename Response to PassthruResponse 2020-07-20 14:09:53 +12:00
test_node.py Merge "Allow node vif attach to specify port_uuid or portgroup_uuid" 2020-06-23 10:29:37 +00:00
test_notification_utils.py Use unittest.mock instead of mock 2020-06-11 14:15:41 +02:00
test_port.py Remove the support to create port in API 2020-10-28 21:44:15 +08:00
test_portgroup.py Merge "Use unittest.mock instead of mock" 2020-06-22 16:57:36 +00:00
test_ramdisk.py Accept and use a TLS certificate from the agent 2020-09-09 17:27:30 +02:00
test_root.py Convert v1 controller to plain, return JSON 2020-07-30 07:37:31 +12:00
test_types.py Revert patching _syscmd_uname 2020-10-18 14:50:10 +02:00
test_utils.py Duplicate trait validation with jsonschema 2020-11-16 10:39:40 +13:00
test_versions.py Use unittest.mock instead of mock 2020-06-11 14:15:41 +02:00
test_volume.py Fix pep8 2020-05-12 15:37:38 +02:00
test_volume_connector.py Merge "Use unittest.mock instead of mock" 2020-06-22 16:57:36 +00:00
test_volume_target.py Merge "Use unittest.mock instead of mock" 2020-06-22 16:57:36 +00:00