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

24 lines
585 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="10.78.130.201:8080",
# address="localhost:8080"
)
return FrostfsClient(client_settings)
@pytest.fixture(scope="session")
def helpers():
return Helpers()