Changeset 8765 for main


Ignore:
Timestamp:
20 Jun 2012, 05:33:49 (13 years ago)
Author:
Henrik Bettermann
Message:

Add test which provokes an

AttributeError?: 'StudentsContainer?' object has no attribute 'student_id'

File:
1 edited

Legend:

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

    r8758 r8765  
    259259        self.browser.getControl(name="form.firstname").value = 'Bob'
    260260        self.browser.getControl(name="form.lastname").value = 'Tester'
     261        self.browser.getControl(name="form.reg_number").value = '123'
     262        self.browser.getControl("Create student record").click()
     263        self.assertTrue('Registration number exists already'
     264            in self.browser.contents)
    261265        self.browser.getControl(name="form.reg_number").value = '1234'
    262266        self.browser.getControl("Create student record").click()
Note: See TracChangeset for help on using the changeset viewer.