forked from TrueCloudLab/frostfs-testlib
[#3] Move source code of testlib to src directory
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
This commit is contained in:
parent
c48f7b7ff2
commit
f5cd6a1954
41 changed files with 230 additions and 207 deletions
17
src/neofs_testlib/cli/neogo/node.py
Normal file
17
src/neofs_testlib/cli/neogo/node.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
from neofs_testlib.cli.cli_command import CliCommand
|
||||
from neofs_testlib.cli.neogo.network_type import NetworkType
|
||||
from neofs_testlib.shell import CommandResult
|
||||
|
||||
|
||||
class NeoGoNode(CliCommand):
|
||||
def start(self, network: NetworkType = NetworkType.PRIVATE) -> CommandResult:
|
||||
"""Start a NEO node
|
||||
|
||||
Args:
|
||||
network (NetworkType): Select network type (default: private)
|
||||
|
||||
Returns:
|
||||
str: Command string
|
||||
|
||||
"""
|
||||
return self._execute("start", **{network.value: True})
|
Loading…
Add table
Add a link
Reference in a new issue