Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
Added tests to verify index on course delete
Browse files Browse the repository at this point in the history
  • Loading branch information
George Schneeloch committed Nov 3, 2015
1 parent 19ff0a6 commit c40c3fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rest/tests/test_course.py
Expand Up @@ -125,6 +125,7 @@ def count_resources(self, repositories=0, courses=0, learning_resources=0,
self.assertEqual(StaticAsset.objects.count(), static_assetts)
self.assertEqual(Term.objects.count(), terms)
self.assertEqual(Vocabulary.objects.count(), vocabularies)
self.assertEqual(self.get_results()['count'], learning_resources)

def test_delete_course(self):
"""
Expand Down

0 comments on commit c40c3fd

Please sign in to comment.