Last change
on this file since 2863 was
2863,
checked in by kroman0, 14 years ago
|
Fixed tests
|
-
Property svn:eol-style set to
native
|
File size:
1.0 KB
|
Line | |
---|
1 | # -*- coding: utf-8 -*- |
---|
2 | import unittest |
---|
3 | |
---|
4 | from zope.testing import doctestunit |
---|
5 | from zope.component import testing |
---|
6 | from Testing import ZopeTestCase as ztc |
---|
7 | |
---|
8 | from Products.PloneTestCase import ptc |
---|
9 | |
---|
10 | from quintagroup.dropdownmenu.tests.layer import DropDownMenuLayer |
---|
11 | |
---|
12 | |
---|
13 | class TestCase(ptc.PloneTestCase): |
---|
14 | layer = DropDownMenuLayer |
---|
15 | |
---|
16 | def 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.