Back to index

plone3  3.1.7
Functions
wicked.atcontent.tests Namespace Reference

Functions

def test_suite

Function Documentation

Definition at line 4 of file tests.py.

00004 
00005 def test_suite():
00006     from Testing.ZopeTestCase import ZopeDocFileSuite
00007     try:
00008         from Products.PloneTestCase.layer import ZCMLLayer
00009     except ImportError:
00010         from collective.testing.layer import ZCMLLayer
00011     suite = ZopeDocFileSuite('README.txt',
00012                              package="wicked.atcontent",
00013                              optionflags = doctest.REPORT_ONLY_FIRST_FAILURE | doctest.ELLIPSIS
00014                              )
00015     suite.layer = ZCMLLayer
00016     return unittest.TestSuite((suite))
00017     
00018