[Checkins] SVN: zope.pytest/trunk/doc/grok_samples.rst Fix markup.
Uli Fouquet
uli at gnufix.de
Thu Jan 20 07:34:52 EST 2011
Log message for revision 119768:
Fix markup.
Changed:
U zope.pytest/trunk/doc/grok_samples.rst
-=-
Modified: zope.pytest/trunk/doc/grok_samples.rst
===================================================================
--- zope.pytest/trunk/doc/grok_samples.rst 2011-01-20 12:34:38 UTC (rev 119767)
+++ zope.pytest/trunk/doc/grok_samples.rst 2011-01-20 12:34:52 UTC (rev 119768)
@@ -27,7 +27,7 @@
Then we can add a new part called 'pytest'. Don't forget to add it
to the global parts too!
-Here is the pytest section:
+Here is the pytest section::
[pytest]
recipe = z3c.recipe.scripts
@@ -47,7 +47,7 @@
----------
To run unit-tests with pytest we have to create a file with the
-prefix 'test_'. Ok so let's create a file test_unit.py with the
+prefix ``test_``. Ok so let's create a file test_unit.py with the
following content.
.. code-block:: python
@@ -64,9 +64,9 @@
Now we can run this test with bin/py.test we should get one failing
-test:
+test::
-.. code-block:: bash
+
==================================== FAILURES =====================================
_______________________________ TestClass.test_two ________________________________
@@ -105,7 +105,7 @@
return "Hello World"
Ok now we have some code to test.
-We have to create again a module with holds our test prefixed with test_.
+We have to create again a module with holds our test prefixed with ``test_``.
So we call it test_integration.py
.. code-block:: python
More information about the checkins
mailing list