From 6afcaf665e77520ba9ea83b7b4d66140d67065fa Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Thu, 16 Sep 2021 20:47:12 -0700 Subject: [PATCH] fix(FastAPI): Fix aurweb.template warnings Signed-off-by: Kevin Morris --- test/test_templates.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_templates.py b/test/test_templates.py index 8e3017b4..b6aa2055 100644 --- a/test/test_templates.py +++ b/test/test_templates.py @@ -4,7 +4,8 @@ from aurweb.templates import register_filter @register_filter("func") -def func(): pass +def func(): + pass def test_register_filter_exists_key_error(): @@ -12,4 +13,5 @@ def test_register_filter_exists_key_error(): imports or template renders, so we only test failures here. """ with pytest.raises(KeyError): @register_filter("func") - def some_func(): pass + def some_func(): + pass