Source code distributed/cli/tests/test_dask_ssh.py

1
2
3
4
5
6
7
8
from click.testing import CliRunner
from distributed.cli.dask_ssh import main


def test_version_option():
    runner = CliRunner()
    result = runner.invoke(main, ["--version"])
    assert result.exit_code == 0