Changeset 6586


Ignore:
Timestamp:
10 Aug 2011, 11:00:54 (13 years ago)
Author:
Henrik Bettermann
Message:

This test fails because fire_transition does not return False if the AC doesn't exist.

File:
1 edited

Legend:

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

    r6585 r6586  
    221221        self.browser.getControl("Create application record").click()
    222222        self.assertTrue('Application initialized' in self.browser.contents)
     223        self.browser.open(self.add_applicant_path)
     224        self.browser.getControl(name="form.ac_series").value = '123'
     225        self.browser.getControl(name="form.ac_number").value = '456'
     226        self.browser.getControl("Create application record").click()
     227        self.assertTrue('is not a valid access code' in self.browser.contents)
    223228        self.browser.open(self.container_manage_path)
    224229        self.assertEqual(self.browser.headers['Status'], '200 Ok')
Note: See TracChangeset for help on using the changeset viewer.