more tests

This commit is contained in:
Kenneth Kehl
2025-07-08 10:16:05 -07:00
parent 1d55e52751
commit 549e85d48c

View File

@@ -847,4 +847,4 @@ def test_clear_redis_list(monkeypatch, notify_api):
result = runner.invoke(clear_redis_list, ["-n", "test_list"]) result = runner.invoke(clear_redis_list, ["-n", "test_list"])
assert result.exit_code == 0 assert result.exit_code == 0
assert ltrim_calls == [("test_list", 1, 0)] assert ltrim_calls == [("test_list", 1, 0)]
assert logger_info_calls == ["Cleared redis list test_list. Before: 5 after 0"] assert logger_info_calls == ["Cleared redis list test_list. Before: 5 after 0"]