Skip to content
Snippets Groups Projects
Commit 55b692ae authored by Jawayria's avatar Jawayria
Browse files

refactor: Removed unused imports

Removed unused imports from openedx/core/djangoapps/{api_admin, catalog, ccxcon, certificates}
parent d69b8f39
Branches
Tags
No related merge requests found
...@@ -7,8 +7,6 @@ from django.contrib.sites.models import Site ...@@ -7,8 +7,6 @@ from django.contrib.sites.models import Site
from django.core.management import call_command from django.core.management import call_command
from django.core.management.base import CommandError from django.core.management.base import CommandError
from django.test import TestCase from django.test import TestCase
from openedx.core.djangoapps.api_admin.management.commands import create_api_access_request
from openedx.core.djangoapps.api_admin.models import ApiAccessConfig, ApiAccessRequest from openedx.core.djangoapps.api_admin.models import ApiAccessConfig, ApiAccessRequest
from common.djangoapps.student.tests.factories import UserFactory from common.djangoapps.student.tests.factories import UserFactory
......
""" """
Test cases for catalog_integrations command. Test cases for catalog_integrations command.
""" """
import pytest import pytest
from django.test import TestCase # lint-amnesty, pylint: disable=unused-import
from django.core.management import call_command, CommandError from django.core.management import call_command, CommandError
from openedx.core.djangolib.testing.utils import CacheIsolationTestCase from openedx.core.djangolib.testing.utils import CacheIsolationTestCase
......
...@@ -14,7 +14,6 @@ from opaque_keys.edx.keys import CourseKey ...@@ -14,7 +14,6 @@ from opaque_keys.edx.keys import CourseKey
from pytz import UTC from pytz import UTC
from common.djangoapps.entitlements.utils import is_course_run_entitlement_fulfillable from common.djangoapps.entitlements.utils import is_course_run_entitlement_fulfillable
from openedx.core.constants import COURSE_PUBLISHED # lint-amnesty, pylint: disable=unused-import
from openedx.core.djangoapps.catalog.cache import ( from openedx.core.djangoapps.catalog.cache import (
COURSE_PROGRAMS_CACHE_KEY_TPL, COURSE_PROGRAMS_CACHE_KEY_TPL,
CATALOG_COURSE_PROGRAMS_CACHE_KEY_TPL, CATALOG_COURSE_PROGRAMS_CACHE_KEY_TPL,
......
...@@ -5,7 +5,6 @@ The public API for certificates. ...@@ -5,7 +5,6 @@ The public API for certificates.
import logging import logging
from datetime import datetime from datetime import datetime
from pytz import UTC from pytz import UTC
from lms.djangoapps.certificates.models import CertificateStatuses, CertificateWhitelist from lms.djangoapps.certificates.models import CertificateStatuses, CertificateWhitelist
......
import itertools
from contextlib import contextmanager from contextlib import contextmanager
from datetime import datetime, timedelta from datetime import datetime
import ddt import ddt
import pytz import pytz
import waffle
from django.test import TestCase from django.test import TestCase
from edx_toggles.toggles import LegacyWaffleSwitch from edx_toggles.toggles import LegacyWaffleSwitch
from edx_toggles.toggles.testutils import override_waffle_switch from edx_toggles.toggles.testutils import override_waffle_switch
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment