diff --git a/aspects/extensions/filters.py b/aspects/extensions/filters.py index 506023e..aa85afe 100644 --- a/aspects/extensions/filters.py +++ b/aspects/extensions/filters.py @@ -19,6 +19,7 @@ "course_run = '{course.id.run}'", ] + class AddSupersetTab(PipelineStep): """Add superset tab to instructor dashboard.""" diff --git a/tests/__init__.py b/aspects/tests/__init__.py similarity index 100% rename from tests/__init__.py rename to aspects/tests/__init__.py diff --git a/tests/test_filters.py b/aspects/tests/test_filters.py similarity index 100% rename from tests/test_filters.py rename to aspects/tests/test_filters.py diff --git a/tests/test_settings.py b/aspects/tests/test_settings.py similarity index 100% rename from tests/test_settings.py rename to aspects/tests/test_settings.py diff --git a/tests/test_utils.py b/aspects/tests/test_utils.py similarity index 100% rename from tests/test_utils.py rename to aspects/tests/test_utils.py diff --git a/aspects/utils.py b/aspects/utils.py index d3608ca..ce09db1 100644 --- a/aspects/utils.py +++ b/aspects/utils.py @@ -9,13 +9,12 @@ from django.conf import settings from supersetapiclient.client import SupersetClient +logger = logging.getLogger(__name__) + if settings.DEBUG: os.environ["OAUTHLIB_INSECURE_TRANSPORT"] = "1" -logger = logging.getLogger(__name__) - - def generate_superset_context( # pylint: disable=dangerous-default-value context, dashboard_uuid="",