summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial
diff options
context:
space:
mode:
authorLars Alexander Blumberg <larsblumberg@users.noreply.github.com>2017-08-15 09:43:42 +0200
committerLars Blumberg <lars.blumberg@talea.de>2017-08-15 10:31:19 +0200
commitc6ede2dbca90b4fa752a9dfe35dbb1325e522498 (patch)
treeddf8bfc905c92a8798598796b838dac9e9ca6c9a /docs/quick_tutorial
parent641861c06f19a138e88a872a4ea527a025531a20 (diff)
downloadpyramid-c6ede2dbca90b4fa752a9dfe35dbb1325e522498.tar.gz
pyramid-c6ede2dbca90b4fa752a9dfe35dbb1325e522498.tar.bz2
pyramid-c6ede2dbca90b4fa752a9dfe35dbb1325e522498.zip
Only include test code snippet that has been added
Diffstat (limited to 'docs/quick_tutorial')
-rw-r--r--docs/quick_tutorial/static_assets.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/quick_tutorial/static_assets.rst b/docs/quick_tutorial/static_assets.rst
index 3235f8561..81a01061a 100644
--- a/docs/quick_tutorial/static_assets.rst
+++ b/docs/quick_tutorial/static_assets.rst
@@ -46,7 +46,9 @@ Steps
#. We add a functional test that asserts that the newly added static file is delivered:
.. literalinclude:: static_assets/tutorial/tests.py
- :linenos:
+ :language: python
+ :pyobject: TutorialFunctionalTests.test_css
+ :lineno-match:
#. Now run the tests: