Skip to content

Commit

Permalink
dont need to use any settings, we include pyramid_jinja2 in main
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc committed Jul 2, 2014
1 parent ef69722 commit c688c70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
6 changes: 0 additions & 6 deletions docs/quick_tutorial/jinja2.rst
Expand Up @@ -45,12 +45,6 @@ Steps
.. literalinclude:: jinja2/tutorial/home.jinja2
:language: html

#. Get the ``pyramid.includes`` into the functional test setup in
``jinja2/tutorial/tests.py``:

.. literalinclude:: jinja2/tutorial/tests.py
:linenos:

#. Now run the tests:

.. code-block:: bash
Expand Down
8 changes: 1 addition & 7 deletions docs/quick_tutorial/jinja2/tutorial/tests.py
Expand Up @@ -30,13 +30,7 @@ def test_hello(self):
class TutorialFunctionalTests(unittest.TestCase):
def setUp(self):
from tutorial import main

settings = {
'pyramid.includes': [
'pyramid_jinja2'
]
}
app = main({}, **settings)
app = main({})
from webtest import TestApp

self.testapp = TestApp(app)
Expand Down

0 comments on commit c688c70

Please sign in to comment.