[Checkins] SVN: z3c.recipe.compattest/branches/jim-windows-whimper/s checkpoint

Jim Fulton jim at zope.com
Mon Aug 17 08:18:22 EDT 2009


Log message for revision 102875:
  checkpoint

Changed:
  U   z3c.recipe.compattest/branches/jim-windows-whimper/setup.py
  U   z3c.recipe.compattest/branches/jim-windows-whimper/src/z3c/recipe/compattest/README.txt
  U   z3c.recipe.compattest/branches/jim-windows-whimper/src/z3c/recipe/compattest/testing.py

-=-
Modified: z3c.recipe.compattest/branches/jim-windows-whimper/setup.py
===================================================================
--- z3c.recipe.compattest/branches/jim-windows-whimper/setup.py	2009-08-17 12:17:41 UTC (rev 102874)
+++ z3c.recipe.compattest/branches/jim-windows-whimper/setup.py	2009-08-17 12:18:21 UTC (rev 102875)
@@ -36,6 +36,7 @@
     # with, it's not actually imported
     extras_require=dict(test=[
           'zope.dottedname',
+          'zope.testing',
         ]),
     entry_points = {
         'zc.buildout': ['default = z3c.recipe.compattest.recipe:Recipe'],

Modified: z3c.recipe.compattest/branches/jim-windows-whimper/src/z3c/recipe/compattest/README.txt
===================================================================
--- z3c.recipe.compattest/branches/jim-windows-whimper/src/z3c/recipe/compattest/README.txt	2009-08-17 12:17:41 UTC (rev 102874)
+++ z3c.recipe.compattest/branches/jim-windows-whimper/src/z3c/recipe/compattest/README.txt	2009-08-17 12:18:21 UTC (rev 102875)
@@ -46,8 +46,9 @@
 - buildout
 - compattest-z3c.recipe.compattest
 - test-compattest
+
 >>> cat('bin', 'test-compattest')
-#!/...python...
+#!...python...
 ...main(...compattest-z3c.recipe.compattest...
 
 We take care about installing the test dependencies for the packages
@@ -56,7 +57,7 @@
 picked up:
 
 >>> cat('bin', 'compattest-z3c.recipe.compattest')
-#!/...python...
+#!...python...
 ...zope.dottedname...
 
 Using SVN checkouts
@@ -101,7 +102,7 @@
 The testrunner uses the checked out version of zope.dottedname:
 
 >>> cat('bin', 'compattest-trunk-zope.dottedname')
-#!/...python...
+#!...python...
 ...parts/compattest-trunk/zope.dottedname/src...
 
 But no additional develop-egg links are present:

Modified: z3c.recipe.compattest/branches/jim-windows-whimper/src/z3c/recipe/compattest/testing.py
===================================================================
--- z3c.recipe.compattest/branches/jim-windows-whimper/src/z3c/recipe/compattest/testing.py	2009-08-17 12:17:41 UTC (rev 102874)
+++ z3c.recipe.compattest/branches/jim-windows-whimper/src/z3c/recipe/compattest/testing.py	2009-08-17 12:18:21 UTC (rev 102875)
@@ -1,7 +1,13 @@
 import doctest
+import re
 import zc.buildout.testing
+from zope.testing import renormalizing
 
 
+normalize_script = (
+    re.compile('(\n?)-  ([a-zA-Z0-9_.-]+)-script.py\n-  \\2.exe\n'),
+    '\\1-  \\2\n')
+
 def DocFileSuite(*args, **kw):
     def setUp(test):
         zc.buildout.testing.buildoutSetUp(test)
@@ -26,5 +32,9 @@
     kw['tearDown'] = tearDown
     kw['optionflags'] = (doctest.ELLIPSIS
                          | doctest.NORMALIZE_WHITESPACE)
+    kw['checker'] = renormalizing.RENormalizing([
+               zc.buildout.testing.normalize_path,
+               normalize_script,
+               ])
 
     return doctest.DocFileSuite(*args, **kw)



More information about the Checkins mailing list