Merge pull request #41 from Patman64/testapp_scope_fix

Fix ScopeMismatch error when testing
master
Steven Loria 10 years ago
commit 690fd0d31d
  1. 2
      {{cookiecutter.app_name}}/tests/conftest.py

@ -21,7 +21,7 @@ def app():
ctx.pop()
@pytest.fixture(scope='session')
@pytest.fixture(scope='function')
def testapp(app):
"""A Webtest app."""
return TestApp(app)

Loading…
Cancel
Save