1
0
Fork 0
eos-downloader/tests/unit/cli/test_get.py

13 lines
323 B
Python
Raw Normal View History

import pytest
from click.testing import CliRunner
from eos_downloader.cli.cli import ardl
@pytest.fixture
def runner():
return CliRunner()
def test_get_help(runner):
result = runner.invoke(ardl, ['get', '--help'])
assert result.exit_code == 0
assert "Download Arista from Arista website" in result.output