Skip to content

Commit

Permalink
fixup! feat!: Drop an unnecessary function.
Browse files Browse the repository at this point in the history
  • Loading branch information
feanil committed Jul 26, 2024
1 parent f97e21b commit e8bc7e0
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,8 @@ def test_all_courses(self, force_update):
assert mock_update_from_store.call_count == (self.num_courses if force_update else 0)

def test_one_course(self):
self._assert_courses_not_in_block_cache(*self.course_keys)
self.command.handle(courses=[str(self.course_keys[0])])
self._assert_courses_in_block_cache(self.course_keys[0])
self._assert_courses_not_in_block_cache(*self.course_keys[1:])
self._assert_courses_not_in_block_storage(*self.course_keys)

def test_with_storage(self):
self.command.handle(with_storage=True, courses=[str(self.course_keys[0])])
self._assert_courses_in_block_cache(self.course_keys[0])
self._assert_courses_in_block_storage(self.course_keys[0])
self._assert_courses_not_in_block_storage(*self.course_keys[1:])

Expand Down

0 comments on commit e8bc7e0

Please sign in to comment.