From 556b235c64b28505047681e16ac068e9019a6bba Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Wed, 13 Jan 2016 17:40:54 -0500 Subject: Add failing test for adding a nested dotfile --- test_dotfiles.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test_dotfiles.py b/test_dotfiles.py index bdb3439..caff325 100644 --- a/test_dotfiles.py +++ b/test_dotfiles.py @@ -70,6 +70,14 @@ class TestRepository(object): assert contents[1].target == target_b assert contents[2].target == target_c + @pytest.mark.xfail(reason='nesting not yet supported') + def test_nested_name_to_target(self, repo, home): + r = Repository(repo, home) + + actual = r._name_to_target(home.join('.vim/.mrconfig')) + expected = repo.join('vim/.mrconfig') + assert actual == expected + class TestDotfile(object): -- cgit v1.2.3