From 9e58f066ef123edf22371e721296d343198c6d8a Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Sun, 1 Apr 2018 23:22:45 +0100 Subject: Fix tests --- app_test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app_test.py') 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 """ -- cgit v1.2.3