Changeset 8920
- Timestamp:
- 5 Jul 2012, 14:48:51 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 25 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/browser.txt
r8777 r8920 1000 1000 with their code as key. 1001 1001 1002 Each certificate provides a ``Add c ourse referrer`` action button near top.1002 Each certificate provides a ``Add certificate course`` action button near top. 1003 1003 1004 1004 Certificates provide an add-form to add new certcourses: … … 1006 1006 >>> cert_url = dept_url + '/certificates/CERT1' 1007 1007 >>> browser.open(cert_url + '/manage') 1008 >>> browser.getControl('Add c ourse referrer').click()1008 >>> browser.getControl('Add certificate course').click() 1009 1009 >>> print browser.contents 1010 1010 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... … … 1025 1025 >>> ctrl.getControl('COURSE1').selected = True 1026 1026 >>> browser.getControl(name='form.level').value = ['100'] 1027 >>> browser.getControl('Add c ourse referrer').click()1027 >>> browser.getControl('Add certificate course').click() 1028 1028 1029 1029 Our certificatecourse will be linked on the parent certificate page: … … 1038 1038 >>> cert_url = dept_url + '/certificates/CERT1' 1039 1039 >>> browser.open(cert_url + '/manage') 1040 >>> browser.getControl('Add c ourse referrer').click()1040 >>> browser.getControl('Add certificate course').click() 1041 1041 >>> ctrl = browser.getControl(name='form.course') 1042 1042 >>> ctrl.getControl('COURSE1').selected = True 1043 1043 >>> browser.getControl(name='form.level').value = ['100'] 1044 >>> browser.getControl('Add c ourse referrer').click()1045 >>> 'The chosen c ourse referreris already' in browser.contents1044 >>> browser.getControl('Add certificate course').click() 1045 >>> 'The chosen certificate course is already' in browser.contents 1046 1046 True 1047 1047 … … 1063 1063 1064 1064 >>> browser.open(cert_url + '/COURSE1_100') 1065 >>> browser.getLink('Edit c ourse referrer').click()1065 >>> browser.getLink('Edit certificate course').click() 1066 1066 1067 1067 If we just click 'Save and return' nothing will change: … … 1088 1088 changed: 1089 1089 1090 >>> browser.getLink('Edit c ourse referrer').click()1090 >>> browser.getLink('Edit certificate course').click() 1091 1091 >>> browser.getControl(name='form.level').value = ['400'] 1092 1092 >>> browser.getControl('Cancel').click() … … 1125 1125 >>> 'COURSE1_200</a>' in browser.contents 1126 1126 True 1127 >>> browser.getControl('Remove selected c ourse referrers').click()1127 >>> browser.getControl('Remove selected certificate courses').click() 1128 1128 >>> 'No item selected' in browser.contents 1129 1129 True 1130 1130 >>> browser.getControl(name='val_id').getControl( 1131 1131 ... value='COURSE1_200').selected = True 1132 >>> browser.getControl('Remove selected c ourse referrers').click()1132 >>> browser.getControl('Remove selected certificate courses').click() 1133 1133 >>> 'Successfully removed: COURSE1_200' in browser.contents 1134 1134 True -
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r8858 r8920 1920 1920 grok.template('certificatemanagepage') 1921 1921 taboneactions = [_('Save'),_('Cancel')] 1922 tabtwoactions = [_('Add c ourse referrer'),1923 _('Remove selected c ourse referrers'),_('Cancel')]1922 tabtwoactions = [_('Add certificate course'), 1923 _('Remove selected certificate courses'),_('Cancel')] 1924 1924 tabthreeactions1 = [_('Remove selected local roles')] 1925 1925 tabthreeactions2 = [_('Add local role')] … … 1944 1944 return msave(self, **data) 1945 1945 1946 @jsaction(_('Remove selected c ourse referrers'))1946 @jsaction(_('Remove selected certificate courses')) 1947 1947 def delCertificateCourses(self, **data): 1948 1948 delSubobjects(self, redirect='@@manage', tab='2') 1949 1949 return 1950 1950 1951 @action(_('Add c ourse referrer'), validator=NullValidator)1951 @action(_('Add certificate course'), validator=NullValidator) 1952 1952 def addCertificateCourse(self, **data): 1953 1953 self.redirect(self.url(self.context, 'addcertificatecourse')) … … 1986 1986 form_fields = grok.AutoFields(ICertificateCourseAdd) 1987 1987 pnav = 1 1988 label = _('Add c ourse referrer')1989 1990 @action(_('Add c ourse referrer'))1988 label = _('Add certificate course') 1989 1990 @action(_('Add certificate course')) 1991 1991 def addCertcourse(self, **data): 1992 1992 try: 1993 self.context.addC ourseRef(**data)1993 self.context.addCertCourse(**data) 1994 1994 except KeyError: 1995 self.status = self.flash(_('The chosen c ourse referreris already '1995 self.status = self.flash(_('The chosen certificate course is already ' 1996 1996 'part of this certificate.')) 1997 1997 return 1998 1998 self.status = self.flash( 1999 _(" Course referrer${a}_${b} added.",1999 _("certificate course ${a}_${b} added.", 2000 2000 mapping = {'a': data['course'].code, 'b': data['level']})) 2001 2001 code = "%s_%s" % (data['course'].code, data['level']) … … 2038 2038 grok.require('waeup.manageAcademics') 2039 2039 form_fields = grok.AutoFields(ICertificateCourse) 2040 label = _('Edit c ourse referrer')2040 label = _('Edit certificate course') 2041 2041 pnav = 1 2042 2042 … … 2051 2051 old_level = self.context.level 2052 2052 data['course'] = self.context.course 2053 parent.addC ourseRef(**data)2054 parent.delC ourseRef(data['course'].code, level=old_level)2053 parent.addCertCourse(**data) 2054 parent.delCertCourse(data['course'].code, level=old_level) 2055 2055 self.flash(_('Form has been saved.')) 2056 2056 old_code = "%s_%s" % (data['course'].code, old_level) -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/certificatemanagepage.pt
r7811 r8920 4 4 <ul class="tabs" data-tabs="tabs"> 5 5 <li tal:attributes="class view/tab1"><a href="#tab-1" i18n:translate="">Settings</a></li> 6 <li tal:attributes="class view/tab2"><a href="#tab-2" i18n:translate="">C ourse Referrers</a></li>6 <li tal:attributes="class view/tab2"><a href="#tab-2" i18n:translate="">Certificate Courses</a></li> 7 7 <li tal:attributes="class view/tab3"><a href="#tab-3" i18n:translate="">Local Roles</a></li> 8 8 </ul> … … 24 24 </div> 25 25 <div id="tab-2" tal:attributes="class view/tab2"> 26 <h3 i18n:translate="">Course Referrers</h3> 26 <h3> 27 <span tal:content="context/__name__">Code</span> 28 <span i18n:domain="waeup.kofa" i18n:translate="">Courses</span> 29 </h3> 27 30 <table class="display dataTableManage"> 28 31 <thead> 29 32 <tr> 30 <th> </th><th i18n:translate="">Level</th> 31 <th i18n:translate="">Semester</th><th i18n:translate="">Referrer</th> 32 <th i18n:translate="">Course</th><th i18n:translate="">Title</th> 33 <th> </th> 34 <th i18n:translate="">Level</th> 35 <th i18n:translate="">Semester</th> 36 <th i18n:translate="">Cert. Course</th> 37 <th i18n:translate="">Dep. Course</th> 38 <th i18n:translate="">Title</th> 33 39 <th i18n:translate="">Mandatory</th> 34 40 </tr> … … 37 43 <tr tal:repeat="cc context/values" class="gradeC"> 38 44 <td> 39 <input type="checkbox" 40 name="val_id" 45 <input type="checkbox" name="val_id" 41 46 tal:attributes="value cc/__name__" /> 42 47 </td> -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/certificatepage.pt
r7811 r8920 20 20 <h3> 21 21 <span tal:content="context/__name__">Code</span> 22 <span i18n:domain="waeup.kofa" i18n:translate="">Course Referrers</span>22 <span i18n:domain="waeup.kofa" i18n:translate="">Courses</span> 23 23 </h3> 24 24 <br /> … … 26 26 <thead> 27 27 <tr> 28 <th i18n:translate="">Level</th><th i18n:translate="">Semester</th> 29 <th i18n:translate="">Referrer</th><th i18n:translate="">Course</th> 30 <th i18n:translate="">Title</th><th i18n:translate="">Mandatory</th> 28 <th i18n:translate="">Level</th> 29 <th i18n:translate="">Semester</th> 30 <th i18n:translate="">Cert. Course</th> 31 <th i18n:translate="">Dep. Course</th> 32 <th i18n:translate="">Title</th> 33 <th i18n:translate="">Mandatory</th> 31 34 </tr> 32 35 </thead> -
main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_browser.py
r8755 r8920 84 84 self.app['faculties']['fac1']['dep1'].courses.addCourse( 85 85 self.course) 86 self.app['faculties']['fac1']['dep1'].certificates['CERT1'].addC ourseRef(86 self.app['faculties']['fac1']['dep1'].certificates['CERT1'].addCertCourse( 87 87 self.course, level=100) 88 88 -
main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_permissions.py
r7811 r8920 91 91 cert.code = 'cert1' 92 92 dept.certificates.addCertificate(cert) 93 cert.addC ourseRef(course)93 cert.addCertCourse(course) 94 94 95 95 self.browser = Browser() -
main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
r8387 r8920 456 456 grok.context(ICertificateCourse) 457 457 grok.view(CertificateCoursePage) 458 text = _('Edit c ourse referrer')458 text = _('Edit certificate course') 459 459 460 460 # -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r8903 r8920 932 932 ticket.automatic = False 933 933 ticket.carry_over = False 934 ticket.code = course.code935 ticket.title = course.title936 ticket.fcode = course.__parent__.__parent__.__parent__.code937 ticket.dcode = course.__parent__.__parent__.code938 ticket.credits = course.credits939 ticket.passmark = course.passmark940 ticket.semester = course.semester941 934 try: 942 self.context.addCourseTicket(ticket )935 self.context.addCourseTicket(ticket, course) 943 936 except KeyError: 944 937 self.flash(_('The ticket exists.')) … … 1784 1777 level_title = translate(self.context.level_title, 'waeup.kofa', 1785 1778 target_language=lang) 1786 return _(' Add and remove course tickets of study level${a}',1779 return _('Edit course list of ${a}', 1787 1780 mapping = {'a':level_title}) 1788 1781 … … 1855 1848 ticket = createObject(u'waeup.CourseTicket') 1856 1849 course = data['course'] 1857 for name in ['code', 'title', 'credits', 'passmark', 'semester']:1858 setattr(ticket, name, getattr(course, name))1859 1850 ticket.automatic = False 1851 ticket.carry_over = False 1860 1852 try: 1861 self.context.addCourseTicket(ticket )1853 self.context.addCourseTicket(ticket, course) 1862 1854 except KeyError: 1863 1855 self.flash(_('The ticket exists.')) -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/studylevelpage.pt
r8141 r8920 34 34 <th i18n:translate="">Code</th> 35 35 <th i18n:translate="">Title</th> 36 <th i18n:translate="">Dep t.</th>37 <th i18n:translate="">Fac t.</th>36 <th i18n:translate="">Dep.</th> 37 <th i18n:translate="">Fac.</th> 38 38 <th i18n:translate="">Cred.</th> 39 39 <th i18n:translate="">Mand.</th> -
main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
r8854 r8920 402 402 ) 403 403 404 def addCourseTicket( courseticket):404 def addCourseTicket(ticket, course): 405 405 """Add a course ticket object. 406 406 """ -
main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py
r8736 r8920 56 56 return studylevelsource.factory.getTitle(self.__parent__, self.level) 57 57 58 def addCourseTicket(self, courseticket):58 def addCourseTicket(self, ticket, course): 59 59 """Add a course ticket object. 60 60 """ 61 if not ICourseTicket.providedBy( courseticket):61 if not ICourseTicket.providedBy(ticket): 62 62 raise TypeError( 63 63 'StudentStudyLeves contain only ICourseTicket instances') 64 self[courseticket.code] = courseticket 64 ticket.code = course.code 65 ticket.title = course.title 66 ticket.fcode = course.__parent__.__parent__.__parent__.code 67 ticket.dcode = course.__parent__.__parent__.code 68 ticket.credits = course.credits 69 ticket.passmark = course.passmark 70 ticket.semester = course.semester 71 self[ticket.code] = ticket 65 72 return 66 73 … … 87 94 88 95 A course ticket contains a copy of the original course and 89 course referrer data. If the courses and/or their referrers are removed, the 90 corresponding tickets remain unchanged. So we do not need any event 96 certificate course data. If the courses and/or the referrin certificate 97 courses are removed, the corresponding tickets remain unchanged. 98 So we do not need any event 91 99 triggered actions on course tickets. 92 100 """ -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_batching.py
r8888 r8920 218 218 ticket.passmark = 100 219 219 ticket.semester = 2 220 study_level .addCourseTicket(ticket)220 study_level[ticket.code] = ticket 221 221 self.add_payment(student) 222 222 return student … … 688 688 shutil.rmtree(os.path.dirname(fin_file)) 689 689 690 # Add course and c ourse referrer690 # Add course and certificate course 691 691 self.course = createObject('waeup.Course') 692 692 self.course.code = 'COURSE1' … … 696 696 self.app['faculties']['fac1']['dep1'].courses.addCourse( 697 697 self.course) 698 self.app['faculties']['fac1']['dep1'].certificates['CERT1'].addC ourseRef(698 self.app['faculties']['fac1']['dep1'].certificates['CERT1'].addCertCourse( 699 699 self.course, level=100) 700 700 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r8903 r8920 171 171 self.app['faculties']['fac1']['dep1'].courses.addCourse( 172 172 self.course) 173 self.app['faculties']['fac1']['dep1'].certificates['CERT1'].addC ourseRef(173 self.app['faculties']['fac1']['dep1'].certificates['CERT1'].addCertCourse( 174 174 self.course, level=100) 175 175 … … 1240 1240 self.browser.getControl("Create course list now").click() 1241 1241 self.browser.getLink("100").click() 1242 self.browser.getLink(" Add and remove courses").click()1242 self.browser.getLink("Edit course list").click() 1243 1243 self.browser.getControl("Add course ticket").click() 1244 1244 self.browser.getControl(name="form.course").value = ['COURSE1'] … … 1253 1253 self.browser.getControl("Create course list now").click() 1254 1254 self.browser.getLink("200").click() 1255 self.browser.getLink(" Add and remove courses").click()1255 self.browser.getLink("Edit course list").click() 1256 1256 self.browser.getControl("Add course ticket").click() 1257 1257 self.browser.getControl(name="form.course").value = ['COURSE1'] … … 1521 1521 # The new SFE-0 pin can be used for starting new session 1522 1522 self.browser.open(self.studycourse_path) 1523 self.browser.getLink('Start session').click()1523 self.browser.getLink('Start new session').click() 1524 1524 pin = self.app['accesscodes']['SFE-0'].keys()[0] 1525 1525 parts = pin.split('-')[1:] … … 1570 1570 # The new SFE-0 pin can be used for starting session 1571 1571 self.browser.open(self.studycourse_path) 1572 self.browser.getLink('Start session').click()1572 self.browser.getLink('Start new session').click() 1573 1573 pin = self.app['accesscodes']['SFE-0'].keys()[0] 1574 1574 parts = pin.split('-')[1:] … … 1610 1610 # The new SFE-1 pin can be used for starting new session 1611 1611 self.browser.open(self.studycourse_path) 1612 self.browser.getLink('Start session').click()1612 self.browser.getLink('Start new session').click() 1613 1613 self.browser.getControl(name="ac_series").value = sfeseries 1614 1614 self.browser.getControl(name="ac_number").value = sfenumber -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_student.py
r8735 r8920 129 129 studylevel = StudentStudyLevel() 130 130 self.assertRaises( 131 TypeError, studylevel.addCourseTicket, department )131 TypeError, studylevel.addCourseTicket, department, department) 132 132 133 133 def test_booking_date(self): -
main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py
r8903 r8920 445 445 grok.require('waeup.handleStudent') 446 446 icon = 'actionicon_start.gif' 447 text = _('Start session')447 text = _('Start new session') 448 448 target = 'start_session' 449 449 … … 477 477 grok.view(StudyLevelDisplayFormPage) 478 478 grok.require('waeup.handleStudent') 479 text = _(' Add and remove courses')479 text = _('Edit course list') 480 480 target = 'edit' 481 481 -
main/waeup.kofa/trunk/src/waeup/kofa/university/api.txt
r7811 r8920 28 28 :maxdepth: 1 29 29 30 c ourserefs.txt30 certcourses.txt -
main/waeup.kofa/trunk/src/waeup/kofa/university/batching.py
r8302 r8920 317 317 def addEntry(self, obj, row, site): 318 318 parent = self.getParent(row, site) 319 parent.addC ourseRef(row['course'],319 parent.addCertCourse(row['course'], 320 320 row['level'], row['mandatory']) 321 321 return … … 323 323 def delEntry(self, row, site): 324 324 parent = self.getParent(row, site) 325 parent.delC ourseRef(row['course'].code, row['level'])326 return 325 parent.delCertCourse(row['course'].code, row['level']) 326 return -
main/waeup.kofa/trunk/src/waeup/kofa/university/catalog.py
r7811 r8920 159 159 self.title = context.course.title 160 160 self.code = context.getCourseCode 161 self.type = 'C ourse Referrer'161 self.type = 'Certificate Course' 162 162 163 163 def search(query=None, view=None): -
main/waeup.kofa/trunk/src/waeup/kofa/university/certcourses.txt
r8898 r8920 1 C ourse referrers2 **************** 1 Certificate Courses 2 ******************* 3 3 4 4 Courses are referred to by certificate courses. … … 64 64 >>> fac['DEPT'].certificates.addCertificate(cert) 65 65 66 >>> fac['DEPT'].certificates['CERT'].addC ourseRef(66 >>> fac['DEPT'].certificates['CERT'].addCertCourse( 67 67 ... fac['DEPT'].courses['CRS1']) 68 68 69 >>> fac['DEPT'].certificates['CERT'].addC ourseRef(69 >>> fac['DEPT'].certificates['CERT'].addCertCourse( 70 70 ... fac['DEPT2'].courses['CRS2']) 71 71 72 72 We add the latter course again, but this time for the second level: 73 73 74 >>> fac['DEPT'].certificates['CERT'].addC ourseRef(74 >>> fac['DEPT'].certificates['CERT'].addCertCourse( 75 75 ... fac['DEPT2'].courses['CRS2'], level=200) 76 76 -
main/waeup.kofa/trunk/src/waeup/kofa/university/certificate.py
r8738 r8920 63 63 return "%s (%s)" % (self.title,self.code) 64 64 65 def addC ourseRef(self, course, level=100, mandatory=True):66 """Add a c ourse referrer.65 def addCertCourse(self, course, level=100, mandatory=True): 66 """Add a certificate course. 67 67 """ 68 68 code = "%s_%s" % (course.code, level) … … 72 72 self._p_changed = True 73 73 74 def delC ourseRef(self, code, level=None):75 """Delete a c ourse referrerdenoted by its code.74 def delCertCourse(self, code, level=None): 75 """Delete a certificate course denoted by its code. 76 76 """ 77 77 keys = list(self.keys()) # create list copy -
main/waeup.kofa/trunk/src/waeup/kofa/university/certificate.txt
r7819 r8920 96 96 .. XXX: This is not a proper description 97 97 98 .. method:: addC ourseRef(course[, level=100,[ mandatory=True]])99 100 Add a referrer of acourse. A course is an object implementing98 .. method:: addCertCourse(course[, level=100,[ mandatory=True]]) 99 100 Add a certificate course. A course is an object implementing 101 101 :class:`waeup.kofa.interfaces.ICourse`. 102 102 103 Please don't be confused by the term ' referrer'. As course objects104 will normaly be stored105 in a department, the c ourse referrer refers to103 Please don't be confused by the term 'certificate course'. 104 As course objects will normaly be stored 105 in a department, the certificate course refers to 106 106 the 'real' course in the department container. 107 107 108 .. method:: delC ourseRef(code)109 110 Remove a c ourse referrerfrom a certificate.111 112 The referrermust be given by its code number.108 .. method:: delCertCourse(code) 109 110 Remove a certificate course from a certificate. 111 112 The certificate course must be given by its code number. 113 113 114 114 :class:`CertificateCourse` … … 117 117 .. class:: CertificateCourse(course[, level=100[, mandatory=True]]) 118 118 119 Create a c ourse referrer.120 121 A certificate course (old term) or course referrerare held in119 Create a certificate course. 120 121 A certificate course are held in 122 122 certificates and refer to an existing :class:`Course` instance held 123 123 elsewhere. 124 124 125 A certificate can require several c ourse referrers and one126 c ourse referrercan be required by several certificates.125 A certificate can require several certificate courses and one 126 certificate course can be required by several certificates. 127 127 128 128 .. attribute:: course … … 225 225 226 226 To accomplish that, the parents of the removed course are looked up 227 for a certifcate container which contains a c ourse referrerthat227 for a certifcate container which contains a certificate course that 228 228 refers to the deleted course. 229 229 … … 341 341 >>> mycert.code = 'MYCERT' 342 342 >>> mydept.certificates.addCertificate(mycert) 343 >>> mycert.addC ourseRef(mycourse)343 >>> mycert.addCertCourse(mycourse) 344 344 345 345 >>> transaction.commit() … … 354 354 ['mydept'] 355 355 356 The c ourse referrerwe stored in the certificate is indeed a356 The certificate course we stored in the certificate is indeed a 357 357 referrer of the course, not a copy of it: 358 358 -
main/waeup.kofa/trunk/src/waeup/kofa/university/course.py
r7811 r8920 78 78 # Remove that referrer... 79 79 cert = certcourse.__parent__ 80 cert.delC ourseRef(code)80 cert.delCertCourse(code) 81 81 cert._p_changed = True 82 82 return -
main/waeup.kofa/trunk/src/waeup/kofa/university/interfaces.py
r8472 r8920 286 286 """ 287 287 course = schema.Choice( 288 title = _(u'Course Referrer'),288 title = _(u'Course'), 289 289 source = CourseSource(), 290 290 readonly = True, -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_batching.py
r7811 r8920 266 266 self.department2.certificates['CRT'] = self.certificate 267 267 self.course = Course(code='CRS') 268 self.department2.certificates['CRT'].addC ourseRef(self.course)268 self.department2.certificates['CRT'].addCertCourse(self.course) 269 269 self.cert_course = self.certificate['CRS_100'] 270 270 self.department2.courses['CRS'] = self.course -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_export.py
r8303 r8920 444 444 self.dept1.certificates.addCertificate(self.cert2) 445 445 self.dept2.certificates.addCertificate(self.cert3) 446 self.cert1.addC ourseRef(self.course1, 100, True)447 self.cert1.addC ourseRef(self.course2, 400, False)448 self.cert3.addC ourseRef(self.course3, 100, False)446 self.cert1.addCertCourse(self.course1, 100, True) 447 self.cert1.addCertCourse(self.course2, 400, False) 448 self.cert3.addCertCourse(self.course3, 100, False) 449 449 self.certcourse1 = self.cert1['C1_100'] 450 450 self.certcourse2 = self.cert1['C2_400'] -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_university.py
r7811 r8920 33 33 def test_suite(): 34 34 # collect doctests for university subpackage 35 suite = get_doctest_suite(['university/c ourserefs.txt',])35 suite = get_doctest_suite(['university/certcourses.txt',]) 36 36 # add local unittests (actually only one) 37 37 for testcase in [UniversitySubpackageTests,]:
Note: See TracChangeset for help on using the changeset viewer.