source: products/quintagroup.zopeskel.blayer/trunk/quintagroup/zopeskel/blayer/tests.py @ 1536

Last change on this file since 1536 was 1536, checked in by mylan, 14 years ago

#127: Added tests

  • Property svn:eol-style set to native
File size: 691 bytes
Line 
1# -*- coding: utf-8 -*-
2
3from zopeskel.tests.test_zopeskeldocs import *
4
5def test_suite():
6    flags = (doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE |
7             doctest.REPORT_ONLY_FIRST_FAILURE)
8
9    curr_dir = os.path.abspath(os.path.dirname(__file__))
10    if curr_dir not in sys.path:
11        sys.path.append(curr_dir)
12
13    suite = unittest.TestSuite([
14        doctest.DocFileSuite(
15            'README.txt', package='quintagroup.zopeskel.blayer',
16            setUp=testSetUp, tearDown=testTearDown,
17            optionflags=flags, globs=globals()),
18
19        ])
20    suite.layer = ZopeSkelLayer
21    return suite
22
23if __name__ == '__main__':
24    unittest.main(defaultTest='test_suite')
Note: See TracBrowser for help on using the repository browser.