Changeset 4257 for waeup


Ignore:
Timestamp:
12 Jun 2009, 08:42:20 (16 years ago)
Author:
uli
Message:

Update tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/university/department.txt

    r4252 r4257  
    66Creating departments
    77====================
     8
     9Before we can create departments, we have to grok the `waeup`
     10package. This happens automatically in real-world use:
     11
     12    >>> import grok
     13    >>> grok.testing.grok('waeup')
    814
    915We can create departments:
     
    1521
    1622Another way to create departments is by asking for a factory called
    17 ``waeup.Department``. Before we can do this, we have to grok the
    18 `waeup` package. This happens automatically in real-world use:
    19 
    20     >>> import grok
    21     >>> grok.testing.grok('waeup')
    22 
    23 Now we can create a department without importing a class:
     23``waeup.Department``. This way we can create a department without
     24importing a class:
    2425
    2526    >>> from zope.component import createObject
Note: See TracChangeset for help on using the changeset viewer.