tests: added more backend tests for scans

This commit is contained in:
2025-02-11 16:52:07 +01:00
parent ac5980a3ae
commit 27061b24e9
4 changed files with 3340 additions and 36 deletions

View File

@ -73,13 +73,13 @@ def convert_to_object_id(data):
return data
@pytest.fixture(scope="session")
@pytest.fixture()
def redis_server():
redis_server = fakeredis.FakeServer()
yield redis_server
@pytest.fixture(scope="session")
@pytest.fixture()
def backend(redis_server):
def _fake_redis(host, port):