Ignore:
Timestamp:
15 Dec 2011, 12:04:13 (13 years ago)
Author:
Henrik Bettermann
Message:

The StudentApplication? class is deprecated. We want to store the application_slip pdf file file instead.

Prepare everything in the students package for downloading such a pdf file.

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

Legend:

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

    r7340 r7351  
    368368        self.assertMatches('...Student admitted by zope.mgr...',
    369369                           self.browser.contents)
    370         # Only the StudentApplication object does not exist
    371         self.assertFalse('Application Data' in self.browser.contents)
     370        # Only the Application Slip does not exist
     371        self.assertFalse('Application Slip' in self.browser.contents)
    372372        return
    373373
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_student.py

    r7339 r7351  
    2121from zope.interface import verify
    2222from waeup.sirp.students.student import Student, StudentFactory
    23 from waeup.sirp.students.application import StudentApplication
    2423from waeup.sirp.students.studycourse import StudentStudyCourse
    2524from waeup.sirp.students.studylevel import StudentStudyLevel, CourseTicket
     
    4039        super(StudentTest, self).setUp()
    4140        self.student = Student()
    42         self.application = StudentApplication()
    4341        self.studycourse = StudentStudyCourse()
    4442        self.studylevel = StudentStudyLevel()
     
    5654        verify.verifyClass(IStudent, Student)
    5755        verify.verifyObject(IStudent, self.student)
    58         verify.verifyClass(IApplicantBaseData, StudentApplication)
    59         verify.verifyObject(IApplicantBaseData, self.application)
    6056        verify.verifyClass(IStudentStudyCourse, StudentStudyCourse)
    6157        verify.verifyObject(IStudentStudyCourse, self.studycourse)
Note: See TracChangeset for help on using the changeset viewer.