23 lines
545 B
Python
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()
|