Skip to content

Commit 8862d69

Browse files
committed
stubbed course optimizer tests
1 parent 51176cb commit 8862d69

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

cms/djangoapps/contentstore/tests/test_tasks.py

+56
Original file line numberDiff line numberDiff line change
@@ -199,3 +199,59 @@ def test_register_exams_failure(self, _mock_register_exams_proctoring, _mock_reg
199199
_mock_register_exams_proctoring.side_effect = Exception('boom!')
200200
update_special_exams_and_publish(str(self.course.id))
201201
course_publish.assert_called()
202+
203+
204+
class CourseOptimizerTestCase():
205+
def test_user_does_not_exist_raises_exception(self):
206+
raise NotImplementedError
207+
208+
def test_no_course_access_raises_exception(self):
209+
raise NotImplementedError
210+
211+
def test_hash_tags_stripped_from_url_lists(self):
212+
raise NotImplementedError
213+
214+
def test_urls_out_count_equals_urls_in_count_when_no_hashtags(self):
215+
raise NotImplementedError
216+
217+
def test_http_and_https_recognized_as_studio_url_schemes(self):
218+
raise NotImplementedError
219+
220+
def test_file_not_recognized_as_studio_url_scheme(self):
221+
raise NotImplementedError
222+
223+
def test_url_substitution_on_static_prefixes(self):
224+
raise NotImplementedError
225+
226+
def test_url_substitution_on_forward_slash_prefixes(self):
227+
raise NotImplementedError
228+
229+
def test_url_subsitution_on_containers(self):
230+
raise NotImplementedError
231+
232+
def test_optimization_occurs_on_published_version(self):
233+
raise NotImplementedError
234+
235+
def test_number_of_scanned_blocks_equals_blocks_in_course(self):
236+
raise NotImplementedError
237+
238+
def test_every_detected_link_is_validated(self):
239+
raise NotImplementedError
240+
241+
def test_link_validation_is_batched(self):
242+
raise NotImplementedError
243+
244+
def test_all_links_in_link_list_longer_than_batch_size_are_validated(self):
245+
raise NotImplementedError
246+
247+
def test_no_retries_on_403_access_denied_links(self):
248+
raise NotImplementedError
249+
250+
def test_retries_attempted_on_connection_errors(self):
251+
raise NotImplementedError
252+
253+
def test_max_number_of_retries_is_respected(self):
254+
raise NotImplementedError
255+
256+
def test_scan_generates_file_named_by_course_key(self):
257+
raise NotImplementedError

0 commit comments

Comments
 (0)