aboutsummaryrefslogtreecommitdiffstats
path: root/app_test.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-04-01 23:22:45 +0100
committerGravatar Gareth Coles <[email protected]>2018-04-01 23:22:45 +0100
commit9e58f066ef123edf22371e721296d343198c6d8a (patch)
treea4e9d025ef4f54960c1f10a6eede52cee7671f1a /app_test.py
parentLinting (diff)
Fix tests
Diffstat (limited to 'app_test.py')
-rw-r--r--app_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app_test.py b/app_test.py
index a6fcbe0d..5747dbd6 100644
--- a/app_test.py
+++ b/app_test.py
@@ -12,6 +12,8 @@ manager.load_views(manager.app.tests_blueprint, "pysite/views/tests")
manager.app.register_blueprint(manager.app.tests_blueprint)
app = manager.app
+app.config["WTF_CSRF_CHECK_DEFAULT"] = False
+
class SiteTest(TestCase):
""" Extend TestCase with flask app instantiation """