diff --git a/edxval/tests/test_views.py b/edxval/tests/test_views.py index 0a241d1a..a84486af 100644 --- a/edxval/tests/test_views.py +++ b/edxval/tests/test_views.py @@ -1112,7 +1112,7 @@ def setUp(self): """ Tests setup. """ - self.base_url = 'i-hate-you' + self.base_url = 'course-transcripts' super().setUp() def test_good_request_responses(self): @@ -1122,13 +1122,4 @@ def test_good_request_responses(self): url = reverse(self.base_url, kwargs={'course_id': 'course-v1:edx+1+2023_05'}) print(url) response = self.client.get(url) - self.assertEqual(response.status_code, status.HTTP_200_OK) - - def test_bad_request_responses(self): - """ - Tests error responses. - """ - url = reverse(self.base_url, kwargs={"blah": 'not-real-course'}) - response = self.client.get(url) - self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST) diff --git a/edxval/urls.py b/edxval/urls.py index ae212e21..e020ebd0 100644 --- a/edxval/urls.py +++ b/edxval/urls.py @@ -20,7 +20,7 @@ name='hls-missing-video' ), path('videos/course-transcripts//', views.CourseTranscriptsDetailView.as_view(), - name='i-hate-you' + name='course-transcripts' ), path('videos/video-transcripts/create/', views.VideoTranscriptView.as_view(), name='create-video-transcript'