-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
105 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
NEOFS_MORPH_DISABLE_CACHE=true | ||
NEOFS_FSCHAIN_DISABLE_CACHE=true | ||
WALLET_PASS=password | ||
PYTHONPATH=${PYTHONPATH}:${VIRTUAL_ENV}/../pytest_tests/lib:${VIRTUAL_ENV}/../neofs-testlib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
from typing import Optional | ||
|
||
from neofs_testlib.cli.neofs_adm.config import NeofsAdmConfig | ||
from neofs_testlib.cli.neofs_adm.morph import NeofsAdmMorph | ||
from neofs_testlib.cli.neofs_adm.fschain import NeofsAdmFSChain | ||
from neofs_testlib.cli.neofs_adm.storage_config import NeofsAdmStorageConfig | ||
from neofs_testlib.cli.neofs_adm.subnet import NeofsAdmMorphSubnet | ||
from neofs_testlib.cli.neofs_adm.subnet import NeofsAdmFSChainSubnet | ||
from neofs_testlib.cli.neofs_adm.version import NeofsAdmVersion | ||
from neofs_testlib.shell import Shell | ||
|
||
|
||
class NeofsAdm: | ||
morph: Optional[NeofsAdmMorph] = None | ||
subnet: Optional[NeofsAdmMorphSubnet] = None | ||
fschain: Optional[NeofsAdmFSChain] = None | ||
subnet: Optional[NeofsAdmFSChainSubnet] = None | ||
storage_config: Optional[NeofsAdmStorageConfig] = None | ||
version: Optional[NeofsAdmVersion] = None | ||
|
||
def __init__(self, shell: Shell, neofs_adm_exec_path: str, config_file: Optional[str] = None): | ||
self.config = NeofsAdmConfig(shell, neofs_adm_exec_path, config=config_file) | ||
self.morph = NeofsAdmMorph(shell, neofs_adm_exec_path, config=config_file) | ||
self.subnet = NeofsAdmMorphSubnet(shell, neofs_adm_exec_path, config=config_file) | ||
self.fschain = NeofsAdmFSChain(shell, neofs_adm_exec_path, config=config_file) | ||
self.subnet = NeofsAdmFSChainSubnet(shell, neofs_adm_exec_path, config=config_file) | ||
self.storage_config = NeofsAdmStorageConfig(shell, neofs_adm_exec_path, config=config_file) | ||
self.version = NeofsAdmVersion(shell, neofs_adm_exec_path, config=config_file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.