aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_cli.py
blob: 64f9266dc9a32825bbc74040113d669e79fd2bcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
from dotfiles.cli import cli


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 == ''