On Mon, Aug 25, 2008 at 6:24 AM, Michael Howitz <[EMAIL PROTECTED]> wrote:
> Log message for revision 90184:
> made doctest sections from the literal sections
Thanks for removing the unneccesary -- and inappropriate -- double
colons. However, for better or worse, the nearly universal style in
zope.* code is to indent doctest blocks in stand-alone text files, so
please restore the previous indentation.
Thanks.
>
> Changed:
> U zc.recipe.testrunner/trunk/src/zc/recipe/testrunner/README.txt
>
> -=-
> Modified: zc.recipe.testrunner/trunk/src/zc/recipe/testrunner/README.txt
> ===
> --- zc.recipe.testrunner/trunk/src/zc/recipe/testrunner/README.txt
> 2008-08-25 09:41:43 UTC (rev 90183)
> +++ zc.recipe.testrunner/trunk/src/zc/recipe/testrunner/README.txt
> 2008-08-25 10:24:35 UTC (rev 90184)
> @@ -38,259 +38,259 @@
> distributions cannot be zip files. TODO: Fix the test runner!)
>
> To illustrate this, we'll create a pair of projects in our sample
> -buildout::
> +buildout:
>
> ->>> mkdir(sample_buildout, 'demo')
> ->>> mkdir(sample_buildout, 'demo', 'demo')
> ->>> write(sample_buildout, 'demo', 'demo', '__init__.py', '')
> ->>> write(sample_buildout, 'demo', 'demo', 'tests.py',
> -... '''
> -... import unittest
> -...
> -... class TestDemo(unittest.TestCase):
> -...def test(self):
> -...pass
> -...
> -... def test_suite():
> -... return unittest.makeSuite(TestDemo)
> -... ''')
> +>>> mkdir(sample_buildout, 'demo')
> +>>> mkdir(sample_buildout, 'demo', 'demo')
> +>>> write(sample_buildout, 'demo', 'demo', '__init__.py', '')
> +>>> write(sample_buildout, 'demo', 'demo', 'tests.py',
> +... '''
> +... import unittest
> +...
> +... class TestDemo(unittest.TestCase):
> +...def test(self):
> +...pass
> +...
> +... def test_suite():
> +... return unittest.makeSuite(TestDemo)
> +... ''')
>
> ->>> write(sample_buildout, 'demo', 'setup.py',
> -... """
> -... from setuptools import setup
> -...
> -... setup(name = "demo")
> -... """)
> +>>> write(sample_buildout, 'demo', 'setup.py',
> +... """
> +... from setuptools import setup
> +...
> +... setup(name = "demo")
> +... """)
>
> ->>> write(sample_buildout, 'demo', 'README.txt', '')
> +>>> write(sample_buildout, 'demo', 'README.txt', '')
>
> ->>> mkdir(sample_buildout, 'demo2')
> ->>> mkdir(sample_buildout, 'demo2', 'demo2')
> ->>> write(sample_buildout, 'demo2', 'demo2', '__init__.py', '')
> ->>> write(sample_buildout, 'demo2', 'demo2', 'tests.py',
> -... '''
> -... import unittest
> -...
> -... class Demo2Tests(unittest.TestCase):
> -...def test2(self):
> -...pass
> -...
> -... def test_suite():
> -... return unittest.makeSuite(Demo2Tests)
> -... ''')
> +>>> mkdir(sample_buildout, 'demo2')
> +>>> mkdir(sample_buildout, 'demo2', 'demo2')
> +>>> write(sample_buildout, 'demo2', 'demo2', '__init__.py', '')
> +>>> write(sample_buildout, 'demo2', 'demo2', 'tests.py',
> +... '''
> +... import unittest
> +...
> +... class Demo2Tests(unittest.TestCase):
> +...def test2(self):
> +...pass
> +...
> +... def test_suite():
> +... return unittest.makeSuite(Demo2Tests)
> +... ''')
>
> ->>> write(sample_buildout, 'demo2', 'setup.py',
> -... """
> -... from setuptools import setup
> -...
> -... setup(name = "demo2", install_requires= ['demoneeded'])
> -... """)
> +>>> write(sample_buildout, 'demo2', 'setup.py',
> +... """
> +... from setuptools import setup
> +...
> +... setup(name = "demo2", install_requires= ['demoneeded'])
> +... """)
>
> ->>> write(sample_buildout, 'demo2', 'README.txt', '')
> +>>> write(sample_buildout, 'demo2', 'README.txt', '')
>
> -Demo 2 depends on demoneeded::
> +Demo 2 depends on demoneeded:
>
> ->>> mkdir(sample_buildout, 'demoneeded')
> ->>> mkdir(sample_buildout, 'demoneeded', 'demoneeded')
> ->>> write(sample_buildout, 'demoneeded', 'demoneeded', '__init__.py', '')
> ->>> write(sample_buildout, 'demoneeded', 'demoneeded', 'tests.py',
> -... '''
> -... import unittest
> -...
> -... class TestNeeded(unittest.TestCase):
> -...def test_needed(self):
> -...pass
> -...
> -... def test_suite():
> -... return unittest.makeSuite(TestNeeded)
> -... ''')
> +>>> mkdir(sample_buildout, 'demoneeded')
> +>>> mkdir(sample_buildout, 'demoneeded', 'demoneeded')
> +>>> write(sample_buildout, 'demoneeded', 'demoneeded', '__init__.py', '')
> +>>> write(sample_buildout, 'demoneeded', 'demoneeded', 'tests.py',
> +... '''
> +... import unittest
> +...
> +... class TestNeeded(unittest.TestCase):
> +...def test_needed(self):
> +...pass
> +...
> +... def test_suite():
> +... return unittest.makeSuite(TestNeeded)
> +... ''')
>
> ->>> write(sample_buildout, 'demoneeded', 'setup.py',
>