[Checkins] SVN: grokproject/trunk/tests_ Update tests.

Uli Fouquet uli at gnufix.de
Wed Feb 18 08:55:18 EST 2009


Log message for revision 96700:
  Update tests.

Changed:
  U   grokproject/trunk/tests_paste.txt
  U   grokproject/trunk/tests_zopectl.txt

-=-
Modified: grokproject/trunk/tests_paste.txt
===================================================================
--- grokproject/trunk/tests_paste.txt	2009-02-18 13:54:40 UTC (rev 96699)
+++ grokproject/trunk/tests_paste.txt	2009-02-18 13:55:18 UTC (rev 96700)
@@ -106,7 +106,22 @@
     # when this project was created.
     ...
 
+The password given is stored SHA1 encoded::
 
+    >>> site_zcml_in = os.path.join(package_dir, 'etc', 
+    ...                             'site.zcml.in')
+    >>> print open(site_zcml_in, 'rb').read()
+    <configure xmlns="http://namespaces.zope.org/zope"
+    ...
+        <principal id="zope.manager"
+                   title="Manager"
+                   login="a"
+                   password_manager="SHA1"
+                   password="...86f7e437faa5a7fce15d1ddcb9eaeaea377667b8"
+                   />
+    ...
+
+
 Using i18n scripts
 ------------------
 

Modified: grokproject/trunk/tests_zopectl.txt
===================================================================
--- grokproject/trunk/tests_zopectl.txt	2009-02-18 13:54:40 UTC (rev 96699)
+++ grokproject/trunk/tests_zopectl.txt	2009-02-18 13:55:18 UTC (rev 96700)
@@ -66,7 +66,21 @@
     >>> len(os.listdir(eggsdir)) > 100
     True
 
+The password given is stored SHA1 encoded::
 
+    >>> buildout_cfg = os.path.join(package_dir, 'buildout.cfg')
+    >>> print open(buildout_cfg, 'rb').read()
+    [buildout]
+    ...
+        <principal id="zope.manager"
+                   title="Manager"
+                   login="a"
+                   password_manager="SHA1"
+                   password="...86f7e437faa5a7fce15d1ddcb9eaeaea377667b8"
+                   />
+    ...
+
+
 Using i18n scripts
 ------------------
 



More information about the Checkins mailing list