Changeset 1219 in products


Ignore:
Timestamp:
Aug 7, 2009 12:15:54 PM (15 years ago)
Author:
mylan
Message:

Update tests because of integration quills with quintagroup.plonecomments (#37)

Location:
quintagroup.quills.extras/branches/no_webresults/quintagroup/quills/extras/tests
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.quills.extras/branches/no_webresults/quintagroup/quills/extras/tests/test_docfile.py

    r1214 r1219  
    11# -*- coding: utf-8 -*- 
     2import unittest 
    23from base import * 
     4from Testing.ZopeTestCase.zopedoctest import ZopeDocFileSuite 
     5from Products.PloneTestCase.layer import PloneSite 
    36from Products.QuillsEnabled.tests import test_docfile 
    47 
     
    811ptc.setupPloneSite(products=PLONE_DEPS) 
    912 
    10 test_suite = test_docfile.test_suite 
     13#test_suite = test_docfile.test_suite 
     14 
     15def test_suite(): 
     16    suite = unittest.TestSuite(()) 
     17 
     18    suite.addTest(ZopeDocFileSuite( 
     19        'workflowstates.txt', 
     20        package='quills.app.tests', 
     21        test_class=test_docfile.QuillsDocTestCase, 
     22        optionflags=test_docfile.optionflags, 
     23        ) 
     24    ) 
     25 
     26    suite.addTest(ZopeDocFileSuite( 
     27        'tests.txt', 
     28        package='quills.core.tests', 
     29        test_class=test_docfile.QuillsDocTestCase, 
     30        optionflags=test_docfile.optionflags, 
     31        ) 
     32    ) 
     33 
     34    suite.addTest(ZopeDocFileSuite( 
     35        'tests.txt', 
     36        package='quills.core.tests', 
     37        test_class=test_docfile.QuillsContributorDocTestCase, 
     38        optionflags=test_docfile.optionflags, 
     39        ) 
     40    ) 
     41 
     42    suite.addTest(ZopeDocFileSuite( 
     43        'tests.txt', 
     44        package='quills.core.tests', 
     45        test_class=test_docfile.QuillsDocTestCase, 
     46        optionflags=test_docfile.optionflags, 
     47        ) 
     48    ) 
     49 
     50    suite.addTest(ZopeDocFileSuite( 
     51        'extras_browser.rst', 
     52        package='quintagroup.quills.extras.tests', 
     53        test_class=test_docfile.QuillsFunctionalTestCase, 
     54        optionflags=test_docfile.optionflags, 
     55        ) 
     56    ) 
     57 
     58    suite.addTest(ZopeDocFileSuite( 
     59        'extras_browser.rst', 
     60        package='quintagroup.quills.extras.tests', 
     61        test_class=test_docfile.QuillsFunctionalTestCase, 
     62        optionflags=test_docfile.optionflags, 
     63        ) 
     64    ) 
     65 
     66    suite.addTest(ZopeDocFileSuite( 
     67        'openBugs.rst', 
     68        package='Products.QuillsEnabled.tests', 
     69        test_class=test_docfile.QuillsFunctionalTestCase, 
     70        optionflags=test_docfile.optionflags, 
     71        ) 
     72    ) 
     73 
     74    suite.addTest(ZopeDocFileSuite( 
     75        'fixedBugs.rst', 
     76        package='Products.QuillsEnabled.tests', 
     77        test_class=test_docfile.QuillsFunctionalTestCase, 
     78        optionflags=test_docfile.optionflags, 
     79        ) 
     80    ) 
     81 
     82    suite.addTest(ZopeDocFileSuite( 
     83        'extras_fixedBugs.rst', 
     84        package='quintagroup.quills.extras.tests', 
     85        test_class=test_docfile.QuillsFunctionalTestCase, 
     86        optionflags=test_docfile.optionflags, 
     87        ) 
     88    ) 
     89 
     90    suite.addTest(ZopeDocFileSuite( 
     91        'openBugs.rst', 
     92        package='quills.app.tests', 
     93        test_class=test_docfile.QuillsFunctionalTestCase, 
     94        optionflags=test_docfile.optionflags, 
     95        ) 
     96    ) 
     97 
     98    suite.addTest(ZopeDocFileSuite( 
     99        'issue193.txt', 
     100        package='quills.app.tests', 
     101        test_class=test_docfile.QuillsFunctionalTestCase, 
     102        optionflags=test_docfile.optionflags, 
     103        ) 
     104    ) 
     105 
     106    suite.addTest(ZopeDocFileSuite( 
     107        'syndication.rst', 
     108        package='quills.app.tests', 
     109        test_class=test_docfile.QuillsFunctionalTestCase, 
     110        optionflags=test_docfile.optionflags, 
     111        ) 
     112    ) 
     113 
     114    suite.addTest(ZopeDocFileSuite( 
     115        'tests.txt', 
     116        package='quills.core.tests', 
     117        test_class=test_docfile.QuillsContributorDocTestCase, 
     118        optionflags=test_docfile.optionflags, 
     119        ) 
     120    ) 
     121 
     122    suite.layer = PloneSite 
     123    return suite 
Note: See TracChangeset for help on using the changeset viewer.