summaryrefslogtreecommitdiffstats
path: root/lenovo/thinkcloud/registration/tests/test_registration2.py
diff options
context:
space:
mode:
Diffstat (limited to 'lenovo/thinkcloud/registration/tests/test_registration2.py')
-rw-r--r--lenovo/thinkcloud/registration/tests/test_registration2.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/lenovo/thinkcloud/registration/tests/test_registration2.py b/lenovo/thinkcloud/registration/tests/test_registration2.py
index d799c90a..7abd6073 100644
--- a/lenovo/thinkcloud/registration/tests/test_registration2.py
+++ b/lenovo/thinkcloud/registration/tests/test_registration2.py
@@ -92,8 +92,10 @@ class TestRegistration2(unittest.TestCase):
}
)
- resp = self.view._discover_flavors(vimid="lenovo-hudson-dc_RegionOne",
- session=mock_session, viminfo=MOCK_VIM_INFO)
+ resp = self.view.register_helper._discover_flavors(
+ vimid="lenovo-hudson-dc_RegionOne",
+ session=mock_session, viminfo=MOCK_VIM_INFO
+ )
self.assertIsNone(resp)
@@ -110,7 +112,9 @@ class TestRegistration2(unittest.TestCase):
}
),
- resp = self.view._discover_flavors(vimid="lenovo-hudson-dc_RegionOne",
- session=mock_session, viminfo=MOCK_VIM_INFO)
+ resp = self.view.register_helper._discover_flavors(
+ vimid="lenovo-hudson-dc_RegionOne",
+ session=mock_session, viminfo=MOCK_VIM_INFO
+ )
self.assertIsNone(resp)