Do not force absolute-path handling for networking reasons

This commit is contained in:
Eric Torres
2019-04-23 22:55:54 -07:00
parent 6c1733bcc9
commit 72ad40e53b
3 changed files with 1 additions and 11 deletions

View File

@ -30,13 +30,6 @@ class TestHierarchyPaths(unittest.TestCase):
def test_retrieves_correct_metadata_filename(self):
self.assertEqual(Hierarchy("/tmp/backup").metadata_path.name, ".metadata")
@given(from_regex(r"[\w/._-]+", fullmatch=True))
def test_returns_absolute_path(self, dest):
try:
self.assertTrue(Hierarchy(dest).path.is_absolute())
except PermissionError:
pass
def test_raises_notimplemented_error(self):
h = Hierarchy("/tmp/backup")
with self.assertRaises(NotImplementedError):