MCPcopy
hub / github.com/raiden-network/raiden / print_step

Function print_step

raiden/tests/utils/smoketest.py:647–656  ·  view source on GitHub ↗
(description: str, error: bool = False)

Source from the content-addressed store, hash-verified

645 step = 0
646
647 def print_step(description: str, error: bool = False) -> None:
648 nonlocal step
649 step += 1
650 click.echo(
651 "{} {}".format(
652 click.style(f"[{step}/{step_count}]", fg="blue"),
653 click.style(description, fg="green" if not error else "red"),
654 ),
655 file=stdout,
656 )
657
658 yield print_step

Callers 6

setup_raidenFunction · 0.85
run_smoketestFunction · 0.85
setup_smoketestFunction · 0.85
_smoketestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected