Ignore:
Timestamp:
29 Jun 2012, 14:49:01 (12 years ago)
Author:
Henrik Bettermann
Message:

mandate.category is deprecated.

File:
1 edited

Legend:

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

    r8849 r8850  
    8989        # Add and execute a mandate with missing parameters.
    9090        mandate = StudentPasswordMandate()
    91         mandate.category = 'student_password'
    9291        self.app['mandates'].addMandate(mandate)
    9392        msg = mandate.execute()
     
    9594        # Add and execute an expired mandate.
    9695        mandate = StudentPasswordMandate(days=0)
    97         mandate.category = 'student_password'
    9896        self.app['mandates'].addMandate(mandate)
    9997        msg = mandate.execute()
     
    10199        # Add and execute a perfect mandate
    102100        mandate = StudentPasswordMandate()
    103         mandate.category = 'student_password'
    104101        mandate.params['student_id'] = student.student_id
    105102        mandate.params['password'] = 'mypwd1'
     
    129126        self.app['students'].addStudent(student)
    130127        mandate = StudentPasswordMandate()
    131         mandate.category = 'student_password'
    132128        mandate.params['student_id'] = student.student_id
    133129        mandate.params['password'] = 'mypwd1'
Note: See TracChangeset for help on using the changeset viewer.