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

Test interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.