Skip to content

Commit

Permalink
fix: Updated comment on test case
Browse files Browse the repository at this point in the history
  • Loading branch information
rijuma committed Jan 22, 2024
1 parent bda102d commit a6dd0fe
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ def test_given_all_key_prompts_and_reindexes_all_courses_cancelled(self):
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)
Expand Down

0 comments on commit a6dd0fe

Please sign in to comment.