We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97cd2af commit aed5a9cCopy full SHA for aed5a9c
tests/e2e_tests/utils.py
@@ -31,6 +31,19 @@ def exec_command(
31
inputs: list[str] = None,
32
):
33
extra_args = extra_args or []
34
+ # Ensure if we forget to add `--network ws://127.0.0.1:9945` that it will run still using the local chain
35
+ if not any(
36
+ (
37
+ x in extra_args
38
+ for x in (
39
+ "--network",
40
+ "--chain",
41
+ "--subtensor.network",
42
+ "--subtensor.chain_endpoint",
43
+ )
44
45
+ ):
46
+ extra_args.extend(["--network", "ws://127.0.0.1:9945"])
47
cli_manager = CLIManager()
48
# Capture stderr separately from stdout
49
runner = CliRunner(mix_stderr=False)
0 commit comments