diff options
Diffstat (limited to 'test_dotfiles.py')
-rw-r--r-- | test_dotfiles.py | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/test_dotfiles.py b/test_dotfiles.py index 79274f3..2b93de6 100644 --- a/test_dotfiles.py +++ b/test_dotfiles.py @@ -5,15 +5,9 @@ from dotfiles import Repository, Dotfile, cli class TestCli(object): - @pytest.mark.xfail(reason='TODO') - def test_add(self): - assert False - - @pytest.mark.xfail(reason='TODO') - def test_remove(self): - assert False - + @pytest.mark.xfail(reason='global overrides not working') def test_status(self, runner, repo, home, monkeypatch): + # FIXME: this approach does not work monkeypatch.setattr('dotfiles.DEFAULT_HOMEDIR', str(home)) monkeypatch.setattr('dotfiles.DEFAULT_REPO_PATH', str(repo)) @@ -21,16 +15,6 @@ class TestCli(object): assert not result.exception assert result.output == '' - # TODO: can do better than this - - @pytest.mark.xfail(reason='TODO') - def test_link(self): - assert False - - @pytest.mark.xfail(reason='TODO') - def test_unlink(self): - assert False - class TestRepository(object): |