Changeset 7422


Ignore:
Timestamp:
21 Dec 2011, 11:10:50 (13 years ago)
Author:
Henrik Bettermann
Message:

Add regression test for not indexing students after import.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py

    r7413 r7422  
    737737        self.assertTrue('Successfully processed 2 rows'
    738738                        in self.browser.contents)
     739        # The students are properly indexed and we can
     740        # thus find a student in  the department
     741        self.browser.open(self.container_path)
     742        self.browser.getControl(name="searchtype").value = ['depcode']
     743        self.browser.getControl(name="searchterm").value = 'dep1'
     744        self.browser.getControl("Search").click()
     745        self.assertTrue('Aaren Pieri' in self.browser.contents)
    739746        return
    740747
Note: See TracChangeset for help on using the changeset viewer.