source: products/quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/tests/test_docs.py @ 1181

Last change on this file since 1181 was 1181, checked in by piv, 15 years ago

make configlet work, add tests for controlpanel, some minor fixes to interfaces and dependencies

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1# -*- coding: utf-8 -*-
2import unittest
3
4from zope.testing import doctestunit
5from zope.component import testing
6from Testing import ZopeTestCase as ztc
7
8from Products.PloneTestCase import ptc
9
10from quintagroup.dropdownmenu.tests.layer import DropDownMenuLayer
11
12
13class TestCase(ptc.PloneTestCase):
14    layer = DropDownMenuLayer
15
16def test_suite():
17    return unittest.TestSuite([
18
19        # Unit tests
20        #doctestunit.DocFileSuite(
21        #    'README.txt', package='quintagroup.dropdownmenu',
22        #    setUp=testing.setUp, tearDown=testing.tearDown),
23
24        #doctestunit.DocTestSuite(
25        #    module='quintagroup.dropdownmenu.mymodule',
26        #    setUp=testing.setUp, tearDown=testing.tearDown),
27
28
29        # Integration tests that use PloneTestCase
30        ztc.ZopeDocFileSuite(
31            'menu.txt', package='quintagroup.dropdownmenu',
32            test_class=TestCase),
33
34        #ztc.FunctionalDocFileSuite(
35        #    'browser.txt', package='quintagroup.dropdownmenu',
36        #    test_class=TestCase),
37
38        ])
Note: See TracBrowser for help on using the repository browser.