[Checkins] SVN: zope.app.wsgi/branches/ulif_product_configs/src/zope/app/wsgi/README.txt Update tests.
Uli Fouquet
uli at gnufix.de
Tue Aug 25 03:38:28 EDT 2009
Log message for revision 103182:
Update tests.
Changed:
U zope.app.wsgi/branches/ulif_product_configs/src/zope/app/wsgi/README.txt
-=-
Modified: zope.app.wsgi/branches/ulif_product_configs/src/zope/app/wsgi/README.txt
===================================================================
--- zope.app.wsgi/branches/ulif_product_configs/src/zope/app/wsgi/README.txt 2009-08-25 07:38:00 UTC (rev 103181)
+++ zope.app.wsgi/branches/ulif_product_configs/src/zope/app/wsgi/README.txt 2009-08-25 07:38:28 UTC (rev 103182)
@@ -170,6 +170,10 @@
... path STDOUT
... </logfile>
... </eventlog>
+ ...
+ ... <product-config sample>
+ ... key1 val1
+ ... </product-config>
... ''' %sitezcml)
@@ -193,6 +197,12 @@
>>> called[0].application is app
True
+The product configs were parsed:
+
+ >>> import zope.app.appsetup.product as zapp
+ >>> print zapp.getProductConfiguration('sample')
+ {'key1': 'val1'}
+
>>> import shutil
>>> shutil.rmtree(temp_dir)
More information about the Checkins
mailing list