24 lines
585 B
Python
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()
|