Skip to content

Commit

Permalink
show search on fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ezwang committed Feb 22, 2019
1 parent d635b5b commit 2589523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/registrar_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def test_course(self):
def test_search(self):
cis_search = self.reg.search({'course_id': 'cis'})
cis_dept = self.reg.department('cis')
self.assertGreater(len(list(cis_dept)), 20)
self.assertGreaterEqual(len(list(cis_search)), 20)
self.assertGreater(len(list(cis_dept)), 20, str(cis_dept))
self.assertGreaterEqual(len(list(cis_search)), 20, str(cis_search))

def test_search_params(self):
params = self.reg.search_params()
Expand Down

0 comments on commit 2589523

Please sign in to comment.