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)