Changeset 8590


Ignore:
Timestamp:
1 Jun 2012, 06:29:25 (12 years ago)
Author:
Henrik Bettermann
Message:

Add test for previous revision.

File:
1 edited

Legend:

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

    r8564 r8590  
    775775            'Passport picture confirmation box not ticked'
    776776            in self.browser.contents)
     777        self.browser.getControl(name="confirm_passport").value = True
     778        self.applicantscontainer.enddate = datetime.now(pytz.utc)
     779        self.browser.getControl("Final Submit").click()
     780        self.assertTrue(
     781            'Application period has expired' in self.browser.contents)
     782        self.applicantscontainer.enddate = datetime.now(
     783            pytz.utc) + timedelta(days=10)
    777784        self.browser.getControl(name="confirm_passport").value = True
    778785        self.browser.getControl("Final Submit").click()
Note: See TracChangeset for help on using the changeset viewer.