[Checkins] SVN: z3c.recipe.staticlxml/trunk/ - Using Python's ``doctest`` module instead of depreacted ``zope.testing.doctest``.
Michael Howitz
mh at gocept.com
Thu Sep 23 02:45:51 EDT 2010
Log message for revision 116735:
- Using Python's ``doctest`` module instead of depreacted ``zope.testing.doctest``.
- Fixed smoke test to run on Mac OS X.
- Using test extra for running tests.
Changed:
U z3c.recipe.staticlxml/trunk/CHANGES.txt
U z3c.recipe.staticlxml/trunk/buildout.cfg
U z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/README.txt
U z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/tests/test_docs.py
-=-
Modified: z3c.recipe.staticlxml/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.staticlxml/trunk/CHANGES.txt 2010-09-22 21:48:08 UTC (rev 116734)
+++ z3c.recipe.staticlxml/trunk/CHANGES.txt 2010-09-23 06:45:50 UTC (rev 116735)
@@ -3,11 +3,14 @@
==================
- Made smoke test a bit more fuzzy to ignore output differences when newer
- zc.recipe.cmmi versions are used.
+ zc.recipe.cmmi versions are used or tests are running on Mac OS X.
- Fixed "relocation R_x86_64_32" error on 64 bit linux by using --with-pic as
extra option to the libxml/libxslt build. [reinout]
+- Using Python's ``doctest`` module instead of depreacted
+ ``zope.testing.doctest``.
+
0.7.1 (2009-05-18)
==================
Modified: z3c.recipe.staticlxml/trunk/buildout.cfg
===================================================================
--- z3c.recipe.staticlxml/trunk/buildout.cfg 2010-09-22 21:48:08 UTC (rev 116734)
+++ z3c.recipe.staticlxml/trunk/buildout.cfg 2010-09-23 06:45:50 UTC (rev 116735)
@@ -6,5 +6,5 @@
[test]
recipe = zc.recipe.testrunner
-eggs = z3c.recipe.staticlxml
+eggs = z3c.recipe.staticlxml [tests]
Modified: z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/README.txt
===================================================================
--- z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/README.txt 2010-09-22 21:48:08 UTC (rev 116734)
+++ z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/README.txt 2010-09-23 06:45:50 UTC (rev 116735)
@@ -94,6 +94,7 @@
... """
... [buildout]
... parts = lxml
+... newest = false
...
... [lxml]
... recipe = z3c.recipe.staticlxml
@@ -102,10 +103,10 @@
... xml2-config = none
... xslt-config = none
... egg = lxml
+... static-build = false
... """ % (distros, distros))
>>> print system('bin/buildout')
-Couldn't find index page for 'zc.recipe.egg' (maybe misspelled?)
Installing lxml.
lxml: CMMI libxml2 ...
lxml: Using libxml2 download url /distros/foo.tgz...
@@ -122,5 +123,5 @@
echo building foo
building foo
echo installing foo
-installing foo
+installing foo...
lxml: Building lxml ...
Modified: z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/tests/test_docs.py
===================================================================
--- z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/tests/test_docs.py 2010-09-22 21:48:08 UTC (rev 116734)
+++ z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/tests/test_docs.py 2010-09-23 06:45:50 UTC (rev 116735)
@@ -4,13 +4,14 @@
"""
__docformat__ = 'restructuredtext'
+from zope.testing import renormalizing
+import doctest
import os
import unittest
+import zc.buildout.testing
import zc.buildout.tests
-import zc.buildout.testing
import zc.recipe.cmmi.tests
-from zope.testing import doctest, renormalizing
optionflags = (doctest.ELLIPSIS |
doctest.NORMALIZE_WHITESPACE |
@@ -19,6 +20,7 @@
test_dir = os.path.dirname(os.path.abspath(__file__))
+
def setUp(test):
zc.recipe.cmmi.tests.setUp(test)
More information about the checkins
mailing list