Ignore:
Timestamp:
30 Aug 2013, 04:07:58 (11 years ago)
Author:
Henrik Bettermann
Message:

Test interface.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py

    r10562 r10563  
    3030    session = Attribute('Session to report')
    3131    level = Attribute('Level to report')
    32     faculty = Attribute('Faculty to report')
    33     department = Attribute('Department to report')
     32    faccode = Attribute('Faculty to report')
     33    depcode = Attribute('Department to report')
    3434    creation_dt_string = Attribute('Human readable report creation datetime')
    3535
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_level_report.py

    r10557 r10563  
    55from waeup.kofa.interfaces import IJobManager
    66from waeup.kofa.students.reports.level_report import (
    7     get_students_by, LevelReport)
     7    get_students_by, LevelReport, ILevelReport)
    88from waeup.kofa.students.tests.test_catalog import CatalogTestSetup
    99from waeup.kofa.students.tests.test_browser import StudentsFullSetup
     
    1515
    1616    layer = FunctionalLayer
     17
     18    def test_iface(self):
     19        # ensure we fullfill interface contracts
     20        obj = LevelReport('fac1', 'dep1', 2010, 100)
     21        verifyClass(ILevelReport, LevelReport)
     22        verifyObject(ILevelReport, obj)
     23        return
    1724
    1825    def test_get_students_by(self):
Note: See TracChangeset for help on using the changeset viewer.