Changeset 5140 for main/waeup.sirp/trunk/src/waeup/sirp/utils
- Timestamp:
- 12 Apr 2010, 14:28:51 (15 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/utils
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/utils/converters.txt
r5012 r5140 9 9 10 10 11 :Test-Layer: unit 12 13 As converters are registered as adapters, we have to grok the package 14 first: 15 16 >>> import grok 17 >>> grok.testing.grok('waeup') 11 .. :doctest: 12 .. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer 13 18 14 19 15 Constants -
main/waeup.sirp/trunk/src/waeup/sirp/utils/helpers.txt
r4920 r5140 6 6 Helper functions for the WAeUP SRP. 7 7 8 :Test-Layer: unit 8 .. :doctest: 9 9 10 10 :func:`removeFileOrDirectory` -
main/waeup.sirp/trunk/src/waeup/sirp/utils/importexport.txt
r5011 r5140 5 5 exportable and importable. 6 6 7 :Test-Layer: unit 7 .. :doctest: 8 .. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer 8 9 9 10 As imports and exports of data are a cruical point when doing updates … … 13 14 Exports and imports are implemented using the Zope component framework 14 15 capabilities. This means we need some adapters and utilities, which we 15 register, by grokking the whole package:: 16 17 >>> import grok 18 >>> grok.testing.grok('waeup') 16 register, by grokking the whole package. This is done on startup 17 automatically, but in doctests (like this one) it is done by the 18 testlayer. 19 19 20 20 Furthermore we need something to import/export. As only pickable
Note: See TracChangeset for help on using the changeset viewer.