- Timestamp:
- 13 Mar 2020, 10:55:28 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_browser.py
r9127 r16037 92 92 results = cat.searchResults(student_id=(None, None)) 93 93 self.assertEqual(len(results),1) 94 self.browser.open('http://localhost/app/reindex?ctlg=students') 95 self.assertTrue('1 students re-indexed' in self.browser.contents) 94 96 cat.clear() 95 97 results = cat.searchResults(student_id=(None, None)) 96 98 self.assertEqual(len(results),0) 97 99 self.browser.open('http://localhost/app/reindex?ctlg=students') 98 self.assertTrue('1 students re-indexed' in self.browser.contents) 100 # No docids found, the new reindex method does only reindex existing 101 # catalog entries. 102 self.assertTrue('0 students re-indexed' in self.browser.contents) 99 103 results = cat.searchResults(student_id=(None, None)) 100 self.assertEqual(len(results), 1)104 self.assertEqual(len(results),0) 101 105 102 106 class ApplicantUtilsUITests(ApplicantsFullSetup):
Note: See TracChangeset for help on using the changeset viewer.