Skip to content

Commit e4787e7

Browse files
author
Bernard Szabo
committed
feat: TNL-11812 Use TestCase base class
1 parent 8862d69 commit e4787e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cms/djangoapps/contentstore/tests/test_tasks.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import copy
77
import json
8-
from unittest import mock
8+
from unittest import mock, TestCase
99
from uuid import uuid4
1010

1111
from django.conf import settings
@@ -201,7 +201,7 @@ def test_register_exams_failure(self, _mock_register_exams_proctoring, _mock_reg
201201
course_publish.assert_called()
202202

203203

204-
class CourseOptimizerTestCase():
204+
class CourseOptimizerTestCase(TestCase):
205205
def test_user_does_not_exist_raises_exception(self):
206206
raise NotImplementedError
207207

@@ -254,4 +254,4 @@ def test_max_number_of_retries_is_respected(self):
254254
raise NotImplementedError
255255

256256
def test_scan_generates_file_named_by_course_key(self):
257-
raise NotImplementedError
257+
raise NotImplementedErro

0 commit comments

Comments
 (0)