diff --git a/awx/main/models/projects.py b/awx/main/models/projects.py index f494a958f9..b90e29cd85 100644 --- a/awx/main/models/projects.py +++ b/awx/main/models/projects.py @@ -22,7 +22,6 @@ from awx.main.models.base import * # noqa from awx.main.models.jobs import Job from awx.main.models.unified_jobs import * # noqa from awx.main.utils import update_scm_url -from awx.main.conf import tower_settings __all__ = ['Project', 'ProjectUpdate'] diff --git a/awx/main/tests/ad_hoc.py b/awx/main/tests/ad_hoc.py index 1e08d83635..957cd7c084 100644 --- a/awx/main/tests/ad_hoc.py +++ b/awx/main/tests/ad_hoc.py @@ -20,7 +20,6 @@ from awx.main.utils import * # noqa from awx.main.models import * # noqa from awx.main.tests.base import BaseJobExecutionTest from awx.main.tests.tasks import TEST_SSH_KEY_DATA, TEST_SSH_KEY_DATA_LOCKED, TEST_SSH_KEY_DATA_UNLOCK -from awx.main.conf import tower_settings __all__ = ['RunAdHocCommandTest', 'AdHocCommandApiTest'] diff --git a/awx/main/tests/base.py b/awx/main/tests/base.py index cc675aecf4..bdea0523a8 100644 --- a/awx/main/tests/base.py +++ b/awx/main/tests/base.py @@ -31,7 +31,6 @@ from awx.main.models import * # noqa from awx.main.management.commands.run_callback_receiver import CallbackReceiver from awx.main.management.commands.run_task_system import run_taskmanager from awx.main.utils import get_ansible_version -from awx.main.conf import tower_settings from awx.main.task_engine import TaskEngager as LicenseWriter from awx.sso.backends import LDAPSettings diff --git a/awx/main/tests/projects.py b/awx/main/tests/projects.py index 5cebd3fe4a..f698267a0c 100644 --- a/awx/main/tests/projects.py +++ b/awx/main/tests/projects.py @@ -20,7 +20,6 @@ from django.utils.timezone import now # AWX from awx.main.models import * # noqa -from awx.main.conf import tower_settings from awx.main.tests.base import BaseTransactionTest from awx.main.tests.tasks import TEST_SSH_KEY_DATA, TEST_SSH_KEY_DATA_LOCKED, TEST_SSH_KEY_DATA_UNLOCK, TEST_OPENSSH_KEY_DATA, TEST_OPENSSH_KEY_DATA_LOCKED from awx.main.utils import decrypt_field, update_scm_url diff --git a/awx/main/tests/tasks.py b/awx/main/tests/tasks.py index 90e4ca75ba..acdff99e29 100644 --- a/awx/main/tests/tasks.py +++ b/awx/main/tests/tasks.py @@ -21,7 +21,6 @@ from crum import impersonate # AWX from awx.main.utils import * # noqa from awx.main.models import * # noqa -from awx.main.conf import tower_settings from awx.main.tests.base import BaseJobExecutionTest TEST_PLAYBOOK = u''' diff --git a/awx/main/utils.py b/awx/main/utils.py index 546c26e3e9..63b4a9441c 100644 --- a/awx/main/utils.py +++ b/awx/main/utils.py @@ -17,7 +17,6 @@ import contextlib import tempfile # Django REST Framework -from django.conf import settings from rest_framework.exceptions import ParseError, PermissionDenied from django.utils.encoding import smart_str from django.core.urlresolvers import reverse