From 5be00e28ddcd5e58107a3b84bae135fdcc4ca5bd Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Thu, 9 Jun 2022 13:16:10 +0200 Subject: [PATCH] Tests: always display all warnings WebHost: fix a warning about new cache names --- WebHostLib/__init__.py | 2 +- test/__init__.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WebHostLib/__init__.py b/WebHostLib/__init__.py index 79c90499..e71dd016 100644 --- a/WebHostLib/__init__.py +++ b/WebHostLib/__init__.py @@ -46,7 +46,7 @@ app.config["PONY"] = { 'create_db': True } app.config["MAX_ROLL"] = 20 -app.config["CACHE_TYPE"] = "simple" +app.config["CACHE_TYPE"] = "flask_caching.backends.SimpleCache" app.config["JSON_AS_ASCII"] = False app.config["PATCH_TARGET"] = "archipelago.gg" diff --git a/test/__init__.py b/test/__init__.py index e69de29b..059c4556 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -0,0 +1,2 @@ +import warnings +warnings.simplefilter("always")