diff --git a/cli/src/etos_client/etos/v0/subcommands/start.py b/cli/src/etos_client/etos/v0/subcommands/start.py index c6854fee..4f8d0cb2 100644 --- a/cli/src/etos_client/etos/v0/subcommands/start.py +++ b/cli/src/etos_client/etos/v0/subcommands/start.py @@ -32,7 +32,7 @@ class Start(SubCommand): """ Client for executing test automation suites in ETOS. - Usage: etosctl testrun v0 start [-v|-vv] [options] -i IDENTITY -s TEST_SUITE + Usage: etosctl testrun v0 start [-v|-vv] [options] [--dataset=DATASET]... -i IDENTITY -s TEST_SUITE Options: -h, --help Show this help message and exit diff --git a/cli/src/etos_client/etos/v1alpha/subcommands/start.py b/cli/src/etos_client/etos/v1alpha/subcommands/start.py index b363f841..7b722088 100644 --- a/cli/src/etos_client/etos/v1alpha/subcommands/start.py +++ b/cli/src/etos_client/etos/v1alpha/subcommands/start.py @@ -22,6 +22,7 @@ from etos_client.types.result import Conclusion, Verdict from etos_client.etos.v1alpha.etos import Etos +from etos_client.sse.v1.client import SSEClient from etosctl.command import SubCommand from etosctl.models import CommandMeta @@ -31,7 +32,7 @@ class Start(SubCommand): """ Client for executing test automation suites in ETOS. - Usage: etosctl testrun v1alpha start [-v|-vv] [options] -i IDENTITY -s TEST_SUITE + Usage: etosctl testrun v1alpha start [-v|-vv] [options] [--dataset=DATASET]... -i IDENTITY -s TEST_SUITE Options: -h, --help Show this help message and exit @@ -68,7 +69,7 @@ def run(self, args: dict) -> None: warnings.warn("This is an alpha version of ETOS! Don't expect it to work properly") self.logger.info("Running in cluster: %r", args[""]) - etos = Etos(args) + etos = Etos(args, SSEClient(args[""])) result = etos.run() if result.conclusion == Conclusion.FAILED: sys.exit(result.reason)