Ignore:
Timestamp:
12 Apr 2010, 14:28:51 (15 years ago)
Author:
uli
Message:

Update all unit tests that use the ZCA to run inside the new unit test layer.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/university
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.txt

    r5005 r5140  
    66Components that represent and manage certificates.
    77
    8 :Test-Layer: unit
    9 
    10 Because certificates make use of components registered with the Zope
    11 Component Architecture (ZCA), we first have to grok the `waeup`
    12 package. This happens automatically in real-world use:
    13 
    14     >>> import grok
    15     >>> grok.testing.grok('waeup')
     8.. :doctest:
     9.. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer
    1610
    1711
  • main/waeup.sirp/trunk/src/waeup/sirp/university/certificatecontainer.txt

    r5005 r5140  
    66Containers for certificates.
    77
    8 :Test-Layer: unit
     8.. :doctest:
     9.. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer
    910
    10 Because this module makes use of components registered with the Zope
    11 Component Architecture (ZCA), we first have to grok the `waeup`
    12 package if we want to deploy it. This happens automatically in
    13 real-world use:
    14 
    15     >>> import grok
    16     >>> grok.testing.grok('waeup')
    1711
    1812Content Classes (models and containers)
  • main/waeup.sirp/trunk/src/waeup/sirp/university/course.txt

    r5005 r5140  
    66Components that represent courses.
    77
    8 :Test-Layer: unit
    9 
    10 Because this module makes use of components registered with the Zope
    11 Component Architecture (ZCA), we first have to grok the `waeup`
    12 package if we want to deploy it. This happens automatically in
    13 real-world use:
    14 
    15     >>> import grok
    16     >>> grok.testing.grok('waeup')
     8.. :doctest:
     9.. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer
    1710
    1811Content Classes (models and containers)
  • main/waeup.sirp/trunk/src/waeup/sirp/university/coursecontainer.txt

    r5005 r5140  
    66Containers for courses.
    77
    8 :Test-Layer: unit
     8.. :doctest:
     9.. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer
    910
    10 Because this module makes use of components registered with the Zope
    11 Component Architecture (ZCA), we first have to grok the `waeup`
    12 package if we want to deploy it. This happens automatically in
    13 real-world use:
    14 
    15     >>> import grok
    16     >>> grok.testing.grok('waeup')
    1711
    1812Content Classes (models and containers)
  • main/waeup.sirp/trunk/src/waeup/sirp/university/department.txt

    r5005 r5140  
    66Components that represent university departments.
    77
    8 :Test-Layer: unit
    9 
    10 Before we can create departments, we have to grok the :mod:`waeup`
    11 package. This happens automatically in real-world use:
    12 
    13     >>> import grok
    14     >>> grok.testing.grok('waeup')
    15 
     8.. :doctest:
     9.. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer
    1610
    1711Content Classes (models and containers)
  • main/waeup.sirp/trunk/src/waeup/sirp/university/faculty.txt

    r5005 r5140  
    66Components that represent university faculties.
    77
    8 :Test-Layer: unit
    9 
    10 Before we can create faculties, we have to grok the :mod:`waeup`
    11 package. This happens automatically in real-world use:
    12 
    13     >>> import grok
    14     >>> grok.testing.grok('waeup')
     8.. :doctest:
     9.. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer
     10
    1511
    1612Content Classes (models and containers)
  • main/waeup.sirp/trunk/src/waeup/sirp/university/facultycontainer.txt

    r5015 r5140  
    66Components that represent faculty containers.
    77
    8 :Test-Layer: unit
    9 
    10 Before we can create faculty containers, we have to grok the
    11 :mod:`waeup.sirp` package. This happens automatically in real-world
    12 use:
    13 
    14     >>> import grok
    15     >>> grok.testing.grok('waeup.sirp')
     8.. :doctest:
     9.. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer
    1610
    1711
Note: See TracChangeset for help on using the changeset viewer.