aboutsummaryrefslogtreecommitdiffstats
path: root/app_test.py
diff options
context:
space:
mode:
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 """