diff options
Diffstat (limited to 'test_dotfiles.py')
-rw-r--r-- | test_dotfiles.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test_dotfiles.py b/test_dotfiles.py index ed67884..7f8c4cd 100644 --- a/test_dotfiles.py +++ b/test_dotfiles.py @@ -65,9 +65,10 @@ class TestRepository(object): assert contents[1].target == target_b assert contents[2].target == target_c - @pytest.mark.xfail(reason='not implemented yet') - def test_expected_name(self): - assert False + def test_expected_name(self, repo, home): + actual = Repository(repo, home).expected_name(repo.join('foo')) + expected = home.join('.foo') + assert actual == expected class TestDotfile(object): |