Skip to content

Commit 9992d6b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 06a7cae commit 9992d6b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/test_backend.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ def test_timeout_0(self, cache: RedisCache):
141141
res = cache.get("test_key")
142142
assert res is None
143143

144-
def test_timeout_parameter_as_positional_argument(self, patch_herd_settings, cache: RedisCache):
144+
def test_timeout_parameter_as_positional_argument(
145+
self, patch_herd_settings, cache: RedisCache
146+
):
145147
cache.set("test_key", 222, -1)
146148
res = cache.get("test_key")
147149
assert res is None
@@ -514,7 +516,11 @@ def test_delete_pattern_with_custom_count(self, client_mock, cache: RedisCache):
514516
@patch("django_redis.cache.RedisCache.client")
515517
@override_settings(DJANGO_REDIS_SCAN_ITERSIZE=30)
516518
def test_delete_pattern_with_settings_default_scan_count(
517-
self, client_mock, patch_herd_settings, cache: RedisCache, settings: SettingsWrapper,
519+
self,
520+
client_mock,
521+
patch_herd_settings,
522+
cache: RedisCache,
523+
settings: SettingsWrapper,
518524
):
519525
for key in ["foo-aa", "foo-ab", "foo-bb", "foo-bc"]:
520526
cache.set(key, "foo")

0 commit comments

Comments
 (0)