From 72eb0abbdb6b2c56c7b731edb7006416316b9790 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Sat, 18 Aug 2018 18:27:40 -0700 Subject: Clean up code-blocks in tutorials/wiki2/tests --- docs/tutorials/wiki2/tests.rst | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'docs/tutorials/wiki2') diff --git a/docs/tutorials/wiki2/tests.rst b/docs/tutorials/wiki2/tests.rst index 84b123df1..f856f837e 100644 --- a/docs/tutorials/wiki2/tests.rst +++ b/docs/tutorials/wiki2/tests.rst @@ -53,33 +53,32 @@ View the results of all our edits to ``tests`` subpackage Create ``tutorial/tests/test_views.py`` such that it appears as follows: .. literalinclude:: src/tests/tutorial/tests/test_views.py - :linenos: - :language: python + :linenos: + :language: python Create ``tutorial/tests/test_functional.py`` such that it appears as follows: .. literalinclude:: src/tests/tutorial/tests/test_functional.py - :linenos: - :language: python + :linenos: + :language: python Create ``tutorial/tests/test_initdb.py`` such that it appears as follows: .. literalinclude:: src/tests/tutorial/tests/test_initdb.py - :linenos: - :language: python + :linenos: + :language: python Create ``tutorial/tests/test_security.py`` such that it appears as follows: .. literalinclude:: src/tests/tutorial/tests/test_security.py - :linenos: - :language: python + :linenos: + :language: python Create ``tutorial/tests/test_user_model.py`` such that it appears as follows: .. literalinclude:: src/tests/tutorial/tests/test_user_model.py - :linenos: - :language: python - + :linenos: + :language: python .. note:: @@ -99,21 +98,21 @@ On UNIX: .. code-block:: bash - $ rm tutorial.sqlite - $ $VENV/bin/py.test -q + rm tutorial.sqlite + $VENV/bin/py.test -q On Windows: .. code-block:: doscon - c:\tutorial> del tutorial.sqlite - c:\tutorial> %VENV%\Scripts\py.test -q + del tutorial.sqlite + %VENV%\Scripts\py.test -q The expected result should look like the following: .. code-block:: text - ................................ - 32 passed in 9.90 seconds + ................................ + 32 passed in 9.90 seconds .. _webtest: https://docs.pylonsproject.org/projects/webtest/en/latest/ -- cgit v1.2.3