Ignore:
Timestamp:
16 Sep 2011, 15:18:55 (13 years ago)
Author:
Henrik Bettermann
Message:

Collect all course referrers and create respective course tickets when adding a study level.

File:
1 edited

Legend:

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

    r6779 r6782  
    283283        self.browser.getControl("Save").click()
    284284
     285        # Managers can add a any sudy level (course list)
     286        self.browser.getControl(name="addlevel").value = ['100']
     287        self.browser.getControl("Add study level").click()
     288        self.assertMatches('...<span>100</span>...',
     289                           self.browser.contents)
     290
     291        # Managers can browse all subobjects
    285292        self.browser.open(self.student_path)
    286293        self.browser.getLink("Payments").click()
    287294        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    288295        self.assertEqual(self.browser.url, self.payments_student_path)
    289 
    290296        self.browser.open(self.student_path)
    291297        self.browser.getLink("Accommodation").click()
    292298        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    293299        self.assertEqual(self.browser.url, self.accommodation_student_path)
    294 
    295300        self.browser.open(self.student_path)
    296301        self.browser.getLink("History").click()
Note: See TracChangeset for help on using the changeset viewer.