From b1c0b16a25c6367ccf8622e878727ad184af92da Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Thu, 4 Jul 2024 09:53:19 +0200 Subject: [PATCH] Tests, WebHost: enable Flask DEBUG mode for tests This provides the actual error if a test raised an exception on the server. --- test/webhost/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/webhost/__init__.py b/test/webhost/__init__.py index 0fcc2cb7f908..2eb340722a3a 100644 --- a/test/webhost/__init__.py +++ b/test/webhost/__init__.py @@ -22,6 +22,7 @@ def setUpClass(cls) -> None: } raw_app.config.update({ "TESTING": True, + "DEBUG": True, }) try: cls.app = get_app()