From 4b9b21b40f911e11dba5de9893d434f010f54c12 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Mon, 4 Jan 2016 07:29:25 -0500 Subject: Remove unique_suffix function, not needed --- test_dotfiles.py | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'test_dotfiles.py') diff --git a/test_dotfiles.py b/test_dotfiles.py index db63632..ed67884 100644 --- a/test_dotfiles.py +++ b/test_dotfiles.py @@ -1,23 +1,7 @@ import py import pytest -from dotfiles import cli, unique_suffix -from dotfiles import Repository, Dotfile - - -def test_unique_suffix_overlap(): - (name, target) = unique_suffix(py.path.local('/foo/baz'), - py.path.local('/foo/bar/bat')) - assert name == 'baz' - assert target == 'bar/bat' - - -@pytest.mark.xfail(reason='this is a bug') -def test_unique_suffix_no_overlap(): - (name, target) = unique_suffix(py.path.local('/a/b/c'), - py.path.local('/d/e/f')) - assert name == '/a/b/c' - assert target == '/d/e/f' +from dotfiles import Repository, Dotfile, cli class TestCli(object): -- cgit v1.2.3