[Checkins] SVN: zope.component/tseaver-test_cleanup/ More forcing the coverage venv into doing right by 'zope.__path__'.

Tres Seaver cvs-admin at zope.org
Wed Jun 27 02:25:36 UTC 2012


Log message for revision 127127:
  More forcing the coverage venv into doing right by 'zope.__path__'.
  
  Also, include 'zope.testrunner' when running Sphinx doctest snippets.

Changed:
  _U  zope.component/tseaver-test_cleanup/
  U   zope.component/tseaver-test_cleanup/tox.ini

-=-
Modified: zope.component/tseaver-test_cleanup/tox.ini
===================================================================
--- zope.component/tseaver-test_cleanup/tox.ini	2012-06-27 02:25:27 UTC (rev 127126)
+++ zope.component/tseaver-test_cleanup/tox.ini	2012-06-27 02:25:33 UTC (rev 127127)
@@ -31,6 +31,7 @@
 #   So, we uninstall that from the environment, and then install the editable
 #   version, before running nosetests.
     pip uninstall -y zope.component
+    python -c "import shutil; shutil.copyfile('src/zope/__init__.py', '{envdir}/lib/python2.6/site-packages/zope/__init__.py')"
     pip install -e .
     nosetests --with-xunit --with-xcoverage
 deps =
@@ -65,3 +66,5 @@
     zope.i18nmessageid
     Sphinx
     repoze.sphinx.autointerface
+#   Ugh.  Need this for docs/testlayer.rst
+    zope.testrunner



More information about the checkins mailing list