Last change
on this file was
835,
checked in by mylan, 17 years ago
|
validate_qploneskindump_form.vpy typo fixed
|
-
Property svn:eol-style set to
native
|
File size:
1.0 KB
|
Line | |
---|
1 | from Testing import ZopeTestCase as ztc |
---|
2 | from Products.Five import zcml |
---|
3 | from Products.Five import fiveconfigure |
---|
4 | from Products.PloneTestCase import PloneTestCase as ptc |
---|
5 | from Products.PloneTestCase.layer import onsetup |
---|
6 | |
---|
7 | ztc.installProduct('PloneFormGen') |
---|
8 | |
---|
9 | @onsetup |
---|
10 | def setup_package(): |
---|
11 | # roadrunner is not working without these 2 lines |
---|
12 | import Products.PloneFormGen |
---|
13 | zcml.load_config('configure.zcml', Products.PloneFormGen) |
---|
14 | |
---|
15 | fiveconfigure.debug_mode = True |
---|
16 | import quintagroup.ploneformgen.readonlystringfield |
---|
17 | zcml.load_config('configure.zcml', |
---|
18 | quintagroup.ploneformgen.readonlystringfield) |
---|
19 | fiveconfigure.debug_mode = False |
---|
20 | |
---|
21 | ztc.installPackage('quintagroup.ploneformgen.readonlystringfield') |
---|
22 | |
---|
23 | setup_package() |
---|
24 | ptc.setupPloneSite(products=['quintagroup.ploneformgen.readonlystringfield',]) |
---|
25 | |
---|
26 | |
---|
27 | class ReadOnlyStringFieldTestCase(ptc.PloneTestCase): |
---|
28 | """Common test base class""" |
---|
29 | |
---|
30 | |
---|
31 | class ReadOnlyStringFieldFunctionalTestCase(ptc.FunctionalTestCase): |
---|
32 | """Common functional test base class""" |
---|
Note: See
TracBrowser
for help on using the repository browser.