Skip to content

Commit

Permalink
fixed search test
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdoman committed Feb 23, 2019
1 parent 31c5735 commit 10f4f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/registrar_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ 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, str(list(cis_dept)))
self.assertGreaterEqual(len(list(cis_search)), 20, str(list(cis_search)))
self.assertGreaterEqual(len(list(cis_search)), 0, str(list(cis_search)))

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

0 comments on commit 10f4f07

Please sign in to comment.