Browse Source

Test discovered nodes are in ENROLL state and fix typo

This adds additional coverage to the discovery tempest test to check
that discovered nodes start in the ENROLL state. A small typo is also
corrected.

Change-Id: I7b3ad1ec4d8779f4c4e58776280d955a1b061fb7
changes/46/398546/2
Mario Villaplana 6 years ago
parent
commit
a42793b696
  1. 4
      ironic_inspector/test/inspector_tempest_plugin/tests/test_discovery.py

4
ironic_inspector/test/inspector_tempest_plugin/tests/test_discovery.py

@ -115,7 +115,7 @@ class InspectorDiscoveryTest(manager.InspectorScenarioTest):
@test.idempotent_id('dd3abe5e-0d23-488d-bb4e-344cdeff7dcb')
@test.services('baremetal', 'compute')
def test_berametal_auto_discovery(self):
def test_bearmetal_auto_discovery(self):
"""This test case follows this set of operations:
* Choose appropriate node, based on provision state;
@ -145,3 +145,5 @@ class InspectorDiscoveryTest(manager.InspectorScenarioTest):
self.verify_node_flavor(inspected_node)
self.verify_node_introspection_data(inspected_node)
self.verify_node_driver_info(self.node_info, inspected_node)
self.assertEqual(ProvisionStates.ENROLL,
inspected_node['provision_state'])

Loading…
Cancel
Save