From a6dd0fe60632c73d65c2983fe37d9da10d07671e Mon Sep 17 00:00:00 2001 From: Marcos Date: Mon, 22 Jan 2024 16:53:47 -0300 Subject: [PATCH] fix: Updated comment on test case --- .../management/commands/tests/test_reindex_courses.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cms/djangoapps/contentstore/management/commands/tests/test_reindex_courses.py b/cms/djangoapps/contentstore/management/commands/tests/test_reindex_courses.py index 8761cf760f..13d33c48f9 100644 --- a/cms/djangoapps/contentstore/management/commands/tests/test_reindex_courses.py +++ b/cms/djangoapps/contentstore/management/commands/tests/test_reindex_courses.py @@ -126,8 +126,10 @@ class TestReindexCourse(ModuleStoreTestCase): patched_index.assert_not_called() def test_given_active_key_prompt(self): - """ Test that reindexes all courses when --active key is given """ - + """ + Test that reindexes all active courses when --active key is given + Active courses have a start date but no end date, or the end date is in the future. + """ with mock.patch(self.REINDEX_PATH_LOCATION) as patched_index, \ mock.patch(self.MODULESTORE_PATCH_LOCATION, mock.Mock(return_value=self.store)): call_command('reindex_course', active=True)