Ignore:
Timestamp:
30 May 2011, 01:16:38 (13 years ago)
Author:
uli
Message:

Remove unused imports and register certificatecontainer module as
doctest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/tests/test_certificatecontainer.py

    r6232 r6239  
    2525import shutil
    2626import tempfile
    27 import os
    2827import unittest
    2928from zope.app.testing.functional import FunctionalTestCase
    30 from zope.catalog.tests import PlacelessSetup
    3129from zope.component.hooks import setSite, clearSite
    3230from zope.interface.verify import verifyClass, verifyObject
     31
    3332from waeup.sirp.app import University
    3433from waeup.sirp.interfaces import DuplicationError
    35 from waeup.sirp.testing import FunctionalLayer, WAeUPSIRPUnitTestLayer
     34from waeup.sirp.testing import FunctionalLayer, doctestsuite_for_module
    3635from waeup.sirp.university.certificate import Certificate
    3736from waeup.sirp.university.certificatecontainer import CertificateContainer
     
    121120
    122121def test_suite():
    123 
    124     return unittest.TestSuite((
     122    suite = unittest.TestSuite((
    125123        unittest.makeSuite(CertificateContainerTests),
     124        doctestsuite_for_module(
     125                'waeup.sirp.university.certificatecontainer'),
    126126        ))
     127    return suite
    127128
    128129if __name__=='__main__':
Note: See TracChangeset for help on using the changeset viewer.