Changeset 6737 for main


Ignore:
Timestamp:
13 Sep 2011, 09:05:13 (13 years ago)
Author:
uli
Message:

Register courserefs.txt from university subpkg manually.
Remove autoregistration via z3c.testsetup.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/courserefs.txt

    r6244 r6737  
    44Courses are referred to by certificate courses.
    55
    6 :Test-Layer: functional
    7 
    86We can be sure, that when removing courses or referrers of them,
    9 other data will be handled in a way we expect. That is, 
     7other data will be handled in a way we expect. That is,
    108
    119* when we remove a course, we want all referrers to it be removed as
  • main/waeup.sirp/trunk/src/waeup/sirp/university/tests/test_university.py

    r6573 r6737  
    11# Test the public API part of the university subpackage
    22import unittest
    3 from waeup.sirp.university import *
     3from waeup.sirp.testing import get_doctest_suite
    44
    55class UniversitySubpackageTests(unittest.TestCase):
     
    1111        self.assertTrue('Faculty' in names)
    1212        self.assertTrue('FacultyContainer' in names)
     13
     14def test_suite():
     15    # collect doctests for university subpackage
     16    suite = get_doctest_suite(['university/courserefs.txt',])
     17    return suite
Note: See TracChangeset for help on using the changeset viewer.