Skip to content
Snippets Groups Projects
Unverified Commit de2a28bd authored by Jawayria's avatar Jawayria Committed by GitHub
Browse files

Merge pull request #26598 from edx/jawayria/bom-2408-1

BOM-2408: Removed unused imports from openedx/core/djangoapps/{api_ad…
parents b899e6bc 55b692ae
Branches
Tags
No related merge requests found
......@@ -7,8 +7,6 @@ from django.contrib.sites.models import Site
from django.core.management import call_command
from django.core.management.base import CommandError
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 common.djangoapps.student.tests.factories import UserFactory
......
"""
Test cases for catalog_integrations command.
"""
import pytest
from django.test import TestCase # lint-amnesty, pylint: disable=unused-import
from django.core.management import call_command, CommandError
from openedx.core.djangolib.testing.utils import CacheIsolationTestCase
......
......@@ -14,7 +14,6 @@ from opaque_keys.edx.keys import CourseKey
from pytz import UTC
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 (
COURSE_PROGRAMS_CACHE_KEY_TPL,
CATALOG_COURSE_PROGRAMS_CACHE_KEY_TPL,
......
......@@ -5,7 +5,6 @@ The public API for certificates.
import logging
from datetime import datetime
from pytz import UTC
from lms.djangoapps.certificates.models import CertificateStatuses, CertificateWhitelist
......
import itertools
from contextlib import contextmanager
from datetime import datetime, timedelta
from datetime import datetime
import ddt
import pytz
import waffle
from django.test import TestCase
from edx_toggles.toggles import LegacyWaffleSwitch
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