diff --git a/ironicclient/tests/unit/v1/test_node_shell.py b/ironicclient/tests/unit/v1/test_node_shell.py index 66bc82d33..288f667a6 100644 --- a/ironicclient/tests/unit/v1/test_node_shell.py +++ b/ironicclient/tests/unit/v1/test_node_shell.py @@ -552,15 +552,6 @@ class NodeShellTest(utils.BaseTestCase): n_shell.do_node_list(client_mock, args) client_mock.node.list.assert_called_once_with(detail=False) - def test_do_node_list_provison_state(self): - client_mock = mock.MagicMock() - args = self._get_client_mock_args(provision_state='wait call-back') - - n_shell.do_node_list(client_mock, args) - client_mock.node.list.assert_called_once_with( - provision_state='wait call-back', - detail=False) - def test_do_node_list_detail(self): client_mock = mock.MagicMock() args = self._get_client_mock_args(detail=True) @@ -568,6 +559,26 @@ class NodeShellTest(utils.BaseTestCase): n_shell.do_node_list(client_mock, args) client_mock.node.list.assert_called_once_with(detail=True) + def test_do_node_list_provision_state(self): + client_mock = mock.MagicMock() + args = self._get_client_mock_args(provision_state='wait call-back', + detail=False) + + n_shell.do_node_list(client_mock, args) + client_mock.node.list.assert_called_once_with( + provision_state='wait call-back', + detail=False) + + def test_do_node_list_detail_provision_state(self): + client_mock = mock.MagicMock() + args = self._get_client_mock_args(provision_state='wait call-back', + detail=True) + + n_shell.do_node_list(client_mock, args) + client_mock.node.list.assert_called_once_with( + provision_state='wait call-back', + detail=True) + def test_do_node_list_sort_key(self): client_mock = mock.MagicMock() args = self._get_client_mock_args(sort_key='created_at',