aboutsummaryrefslogtreecommitdiff
path: root/tests/test_cli.py
blob: 38a37a874d8ced792b6b3014618ce8c34191e036 (plain)
1
2
3
4
5
6
7
8
9
10
11
from dotfiles.cli import cli
from dotfiles.repository import Repository


class TestCli(object):

    def test_status(self, runner, repo, monkeypatch):

        result = runner.invoke(cli, ['-r', str(repo.path), 'status'])
        assert not result.exception
        assert result.output == ''