summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/registration
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/titanium_cloud/registration')
-rw-r--r--windriver/titanium_cloud/registration/tests/test_registration.py4
-rw-r--r--windriver/titanium_cloud/registration/views/registration.py6
2 files changed, 5 insertions, 5 deletions
diff --git a/windriver/titanium_cloud/registration/tests/test_registration.py b/windriver/titanium_cloud/registration/tests/test_registration.py
index d96e2359..01a40217 100644
--- a/windriver/titanium_cloud/registration/tests/test_registration.py
+++ b/windriver/titanium_cloud/registration/tests/test_registration.py
@@ -16,10 +16,10 @@ import mock
from rest_framework import status
-from newton.pub.utils import restcall
+from common.utils import restcall
from newton.requests.tests import mock_info
from newton.requests.tests import test_base
-from newton.requests.views.util import VimDriverUtils
+from newton_base.util import VimDriverUtils
MOCK_GET_TENANT_RESPONSE = {
"projects":[
diff --git a/windriver/titanium_cloud/registration/views/registration.py b/windriver/titanium_cloud/registration/views/registration.py
index ee9be716..da83efaa 100644
--- a/windriver/titanium_cloud/registration/views/registration.py
+++ b/windriver/titanium_cloud/registration/views/registration.py
@@ -14,9 +14,9 @@
import logging
-from titanium_cloud.pub.config import config
+from django.conf import settings
-from newton.registration.views import registration as newton_registration
+from newton_base.registration import registration as newton_registration
logger = logging.getLogger(__name__)
@@ -25,5 +25,5 @@ DEBUG=True
class Registry(newton_registration.Registry):
def __init__(self):
- self.proxy_prefix = config.MULTICLOUD_PREFIX
+ self.proxy_prefix = settings.MULTICLOUD_PREFIX
self._logger = logger