Changeset 6237


Ignore:
Timestamp:
30 May 2011, 01:04:28 (13 years ago)
Author:
uli
Message:

Remove trailing whitespaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/testing.py

    r5865 r6237  
    4848
    4949    .. The following samples should go into Sphinx docs directly....
    50    
     50
    5151    Sample
    5252    ******
     
    5454    Usage with plain Python testrunners
    5555    -----------------------------------
    56    
     56
    5757    Together with the :func:`setUpZope` and :func:`cleanUpZope`
    5858    functions we then can do unittests with all components registered
     
    8080          def setUp(self):
    8181              pass
    82        
     82
    8383          def tearDown(self):
    8484              pass
     
    9898
    9999    .. note:: This works only with the default Python testrunners.
    100    
     100
    101101         If you use the Zope testrunner (from :mod:`zope.testing`)
    102102         then you have to use appropriate layers like the
     
    111111
    112112    .. seealso:: :class:`waeup.sirp.testing.WAeUPSIRPUnitTestLayer`
    113    
     113
    114114    """
    115115    gsm =  getGlobalSiteManager()
     
    144144    once before all these tests are run (and torn down once
    145145    afterwards).
    146    
     146
    147147    To make use of this layer, you have to write a
    148148    :mod:`unittest.TestCase` class that provides an attribute called
     
    151151      import unittest
    152152      from waeup.sirp.testing import WAeUPSIRPUnitTestLayer
    153      
     153
    154154      class MyTestCase(unittest.TestCase):
    155155
Note: See TracChangeset for help on using the changeset viewer.