diff options
Diffstat (limited to 'starlingx')
-rw-r--r-- | starlingx/starlingx/registration/tests/test_registration2.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/starlingx/starlingx/registration/tests/test_registration2.py b/starlingx/starlingx/registration/tests/test_registration2.py index 62138540..6f470eea 100644 --- a/starlingx/starlingx/registration/tests/test_registration2.py +++ b/starlingx/starlingx/registration/tests/test_registration2.py @@ -86,8 +86,10 @@ class TestRegistration2(unittest.TestCase): ["get"], {"get": { "content": MOCK_GET_FLAVOR_RESPONSE}}), - resp = self.view._discover_flavors(vimid="starlingx_RegionOne", - session=mock_session, viminfo=MOCK_VIM_INFO) + resp = self.view.register_helper._discover_flavors( + vimid="starlingx_RegionOne", + session=mock_session, viminfo=MOCK_VIM_INFO + ) self.assertIsNone(resp) @@ -101,7 +103,9 @@ class TestRegistration2(unittest.TestCase): "content": MOCK_GET_FLAVOR_EXTRASPECS_RESPONSE_w_hpa_numa} ]}), - resp = self.view._discover_flavors(vimid="starlingx_RegionOne", - session=mock_session, viminfo=MOCK_VIM_INFO) + resp = self.view.register_helper._discover_flavors( + vimid="starlingx_RegionOne", + session=mock_session, viminfo=MOCK_VIM_INFO + ) self.assertIsNone(resp) |