Skip to content

Commit

Permalink
chore: cleaning imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pmakwana93 committed Oct 17, 2024
1 parent 047eda1 commit d3a2697
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions enterprise_catalog/apps/api/v2/tests/test_views.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
from datetime import datetime
from datetime import datetime
from unittest import mock

import ddt
import pytz
from django.conf import settings
from django.utils.text import slugify
from rest_framework.reverse import reverse
from six.moves.urllib.parse import quote_plus

from enterprise_catalog.apps.api.v1.tests.mixins import APITestMixin
from enterprise_catalog.apps.api.v1.utils import is_any_course_run_active
from enterprise_catalog.apps.catalog.constants import (
COURSE,
COURSE_RUN,
EXEC_ED_2U_COURSE_TYPE,
PROGRAM,
)
from enterprise_catalog.apps.catalog.models import (
ContentMetadata,
Expand All @@ -27,10 +16,6 @@
RestrictedCourseMetadataFactory,
RestrictedRunAllowedForRestrictedCourseFactory
)
from enterprise_catalog.apps.catalog.utils import (
enterprise_proxy_login_url,
get_parent_content_key,
)


@ddt.ddt
Expand All @@ -49,12 +34,6 @@ def setUp(self):
# Delete any existing ContentMetadata records.
ContentMetadata.objects.all().delete()

def _get_content_metadata_url(self, enterprise_catalog):
"""
Helper to get the get_content_metadata endpoint url for a given catalog
"""
return reverse('api:v2:get-content-metadata-v2', kwargs={'uuid': enterprise_catalog.uuid})

def _create_objects_and_relationships(
self,
create_catalog_query,
Expand Down

0 comments on commit d3a2697

Please sign in to comment.