Integration tests #3
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue