Skip to content

Commit 7284dac

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fe99e5c commit 7284dac

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/test_backend.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ def test_set_many(self, cache: RedisCache):
196196
res = cache.get_many(["a", "b", "c"])
197197
assert res == {"a": 1, "b": 2, "c": 3}
198198

199-
def test_set_call_empty_pipeline(self, cache: RedisCache, mocker: MockerFixture, settings: SettingsWrapper):
199+
def test_set_call_empty_pipeline(
200+
self, cache: RedisCache, mocker: MockerFixture, settings: SettingsWrapper
201+
):
200202
settings.CACHE_HERD_TIMEOUT = 2
201203

202204
if isinstance(cache.client, ShardClient):
@@ -494,7 +496,10 @@ def test_delete_pattern_with_custom_count(self, client_mock, cache: RedisCache):
494496

495497
@patch("django_redis.cache.RedisCache.client")
496498
def test_delete_pattern_with_settings_default_scan_count(
497-
self, client_mock, cache: RedisCache, settings: SettingsWrapper,
499+
self,
500+
client_mock,
501+
cache: RedisCache,
502+
settings: SettingsWrapper,
498503
):
499504
settings.DJANGO_REDIS_SCAN_ITERSIZE = 30
500505

0 commit comments

Comments
 (0)