From 2f7b42da38ca17ebc4bd39b82b903c5ee3f02b23 Mon Sep 17 00:00:00 2001 From: Ivan Golikov Date: Wed, 1 Jan 2025 19:16:46 +0100 Subject: [PATCH] Fix --- tests/integration/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_utils.py b/tests/integration/test_utils.py index 9e38980..de84fdf 100644 --- a/tests/integration/test_utils.py +++ b/tests/integration/test_utils.py @@ -2,7 +2,7 @@ from unittest.mock import patch from redis.asyncio import Redis -from pssecret.utils import get_new_key, save_secret_data +from pssecret.utils import get_new_key, save_secret from ..factories import SecretFactory @@ -27,7 +27,7 @@ async def test_get_new_key_skips_used_keys(_, redis_server: Redis) -> None: async def test_save_secret_data(redis_server: Redis) -> None: secret = SecretFactory.build() - key = await save_secret_data(secret, redis_server) + key = await save_secret(secret, redis_server) redis_data: bytes | None = await redis_server.get(key)