Ignore:
Timestamp:
5 Jul 2012, 14:48:51 (13 years ago)
Author:
Henrik Bettermann
Message:

Rename course referrers to certificate courses (according to the discussion long time ago).

Edit some button labels and titles.

Move code from view to content components.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/university/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_batching.py

    r7811 r8920  
    266266        self.department2.certificates['CRT'] = self.certificate
    267267        self.course = Course(code='CRS')
    268         self.department2.certificates['CRT'].addCourseRef(self.course)
     268        self.department2.certificates['CRT'].addCertCourse(self.course)
    269269        self.cert_course = self.certificate['CRS_100']
    270270        self.department2.courses['CRS'] = self.course
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_export.py

    r8303 r8920  
    444444        self.dept1.certificates.addCertificate(self.cert2)
    445445        self.dept2.certificates.addCertificate(self.cert3)
    446         self.cert1.addCourseRef(self.course1, 100, True)
    447         self.cert1.addCourseRef(self.course2, 400, False)
    448         self.cert3.addCourseRef(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)
    449449        self.certcourse1 = self.cert1['C1_100']
    450450        self.certcourse2 = self.cert1['C2_400']
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_university.py

    r7811 r8920  
    3333def test_suite():
    3434    # collect doctests for university subpackage
    35     suite = get_doctest_suite(['university/courserefs.txt',])
     35    suite = get_doctest_suite(['university/certcourses.txt',])
    3636    # add local unittests (actually only one)
    3737    for testcase in [UniversitySubpackageTests,]:
Note: See TracChangeset for help on using the changeset viewer.