aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_cli.py
blob: 7f08010627a3b51c7fd694b3683b2dbf852522dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
from click.testing import CliRunner

from dotfiles import __version__
from dotfiles.cli import version


def test_version():
    runner = CliRunner()
    result = runner.invoke(version)
    assert ('dotfiles v%s\n' % __version__) == result.output