From 8395c554edc791d745b1669db097b8cdd5582714 Mon Sep 17 00:00:00 2001 From: Yannik Tausch Date: Mon, 12 Feb 2024 15:37:04 +0100 Subject: [PATCH] try moving caplog set level down --- tests/test_lazy_json_backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_lazy_json_backends.py b/tests/test_lazy_json_backends.py index 230e01524b..ad9f94e948 100644 --- a/tests/test_lazy_json_backends.py +++ b/tests/test_lazy_json_backends.py @@ -590,8 +590,8 @@ def test_github_hmset(caplog) -> None: def test_github_hset(caplog) -> None: - caplog.set_level(logging.DEBUG) backend = GithubLazyJsonBackend() + caplog.set_level(logging.DEBUG) backend.hset("name", "key", "value") assert "Write operations to the GitHub online backend are ignored." in caplog.text