import doctest

import unittest
from collective.pwexpiry.tests import base
from plone.testing import layered
from Testing import ZopeTestCase as ztc


def test_suite():
    suite = unittest.TestSuite()
    suite.addTests([
        layered(doctest.DocFileSuite(
                'tests/test.txt',
#                'tests/test2.txt',
                package='collective.pwexpiry',
                optionflags=doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS),
                layer=base.INTEGRATION_TESTING),
        ])
    return suite
