Ignore:
Timestamp:
11 Nov 2011, 09:02:15 (13 years ago)
Author:
Henrik Bettermann
Message:

Further increase overall test coverage.

File:
1 edited

Legend:

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

    r6659 r7077  
    2424from zope.component.hooks import setSite, clearSite
    2525from waeup.sirp.app import University
     26from waeup.sirp.university.department import Department
    2627from waeup.sirp.students.interfaces import (
    2728    IStudentsContainer,
     
    7677        self.assertRaises(
    7778            NotImplementedError, container.clear)
     79        # We cannot add arbitrary objects
     80        department = Department()
     81        self.assertRaises(
     82            TypeError, container.addStudent, department)
     83
    7884
    7985    def test_logger(self):
Note: See TracChangeset for help on using the changeset viewer.