Changeset 6667 for main


Ignore:
Timestamp:
3 Sep 2011, 02:38:40 (13 years ago)
Author:
uli
Message:

Fix test (enter password as required now).

File:
1 edited

Legend:

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

    r6652 r6667  
    201201        self.browser.getControl(name="transition").value = ['admit']
    202202        self.browser.getControl(name="form.name").value = 'John Tester'
     203        self.browser.getControl(name="form.password").value = 'secret'
    203204        self.browser.getControl("Save").click()
    204205        self.assertTrue('Form has been saved' in self.browser.contents)
     
    241242        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    242243        self.assertEqual(self.browser.url, self.history_student_path)
    243         self.assertMatches('...Student admitted by zope.mgr...', self.browser.contents)
     244        self.assertMatches('...Student admitted by zope.mgr...',
     245                           self.browser.contents)
    244246
    245247        return
Note: See TracChangeset for help on using the changeset viewer.