4 Commits

Author SHA1 Message Date
SofiiaAndriichenko
601491900d Fix cleanup of resources in functional tests
Cleanup resources after test_node_create_json

Change-Id: I45593a49c67b3143215c83a6f729920f789e0e5a
Closes-Bug: #1658942
2017-02-02 18:41:22 +02:00
Vadim Hmyrov
d35a75cbb0 Fix display of chassis UUID field if empty
When calling OSC commands "openstack baremetal node create" or
"openstack baremetal node show" the field "chassis_uuid" should be
displayed even if it is empty.

This patch also updated the test schema for the ironic --json node-*
command as chassis_uuid will now appear as 'null' when the node isn't
associated with a chassis.

Change-Id: Ic10eb9ef908c12d5c71c1df407bfb66079a25703
Closes-Bug: #1620749
2016-10-22 22:12:48 +00:00
Kyrylo Romanenko
4e82421f00 Verify JSON response of driver commands
Test JSON response output to console for commands:
driver-list,
driver-show,
driver-properties.

Change-Id: I2e9363b051a496de93516446d3ed3ff687a5db23
Partial-Bug: #1555680
2016-08-01 11:31:35 +00:00
Kyrylo Romanenko
28dc9331b6 Add CLI tests to check JSON response body
Test JSON response output to console for commands:
node-list,
node-show,
node-validate,
node-show-states,
node-create,
node-update.

Change-Id: Id1ebff7cedb6e5b9f657d869d71f49de270a5ef3
Partial-Bug: #1555680
2016-07-26 12:58:04 +03:00