Changeset 16900 for main/waeup.aaue


Ignore:
Timestamp:
22 Mar 2022, 17:35:16 (3 years ago)
Author:
Henrik Bettermann
Message:

Add only core courses.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r16810 r16900  
    387387                if val.level != self.level:
    388388                    continue
     389                if val.course_category != 'C':
     390                    continue
    389391                ticket = createObject(u'waeup.CourseTicket')
    390392                ticket.automatic = True
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py

    r16355 r16900  
    5353
    5454    layer = FunctionalLayer
     55
     56    def setUp(self):
     57        super(OfficerUITests, self).setUp()
     58        self.app['faculties']['fac1']['dep1'].certificates[
     59            'CERT1']['COURSE1_100'].course_category = 'C'
    5560
    5661    def login_as_lecturer(self):
     
    599604    def setUp(self):
    600605        super(StudentUITests, self).setUp()
    601 
     606        self.app['faculties']['fac1']['dep1'].certificates[
     607            'CERT1']['COURSE1_100'].course_category = 'C'
    602608        bedticket = BedTicket()
    603609        bedticket.booking_session = 2004
Note: See TracChangeset for help on using the changeset viewer.