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

Function test_cli_version

raiden/tests/unit/test_cli.py:34–47  ·  view source on GitHub ↗
(cli_runner)

Source from the content-addressed store, hash-verified

32
33
34def test_cli_version(cli_runner):
35 result = cli_runner.invoke(cli.run, ["version"])
36 result_json = json.loads(result.output)
37 result_expected_keys = {
38 "raiden",
39 "raiden_db_version",
40 "python_implementation",
41 "python_version",
42 "system",
43 "architecture",
44 "distribution",
45 }
46 assert result_expected_keys == result_json.keys()
47 assert result.exit_code == 0
48
49
50@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.80

Tested by

no test coverage detected