frostfs-sdk-python/tests/conftest.py
Ilyas Niyazov 297e107b10 [#3] Added generate proto script create container method
Signed-off-by: Ilyas Niyazov <i.niyazov@yadro.com>
2025-03-25 11:13:48 +03:00

23 lines
545 B
Python

import pytest
from frostfs_sdk import ClientSettings, FrostfsClient
from tests.helpers.models import ClientCryptograpy, Helpers
@pytest.fixture(scope="session")
def client_cryptography():
return ClientCryptograpy()
@pytest.fixture(scope="session")
def default_frostfs_client():
client_settings = ClientSettings(
wif="KxnEZ7FsPgKMdL9PYt9vsDkXiSw6qP9J8dpR4eVMsDpJyJxcYpve",
address="localhost:8080"
)
return FrostfsClient(client_settings)
@pytest.fixture(scope="session")
def helpers():
return Helpers()