This commit is contained in:
@@ -33,12 +33,6 @@ class ScratchCopyTest(unittest.TestCase):
|
||||
_, copy = scratch_copy(str(self.top))
|
||||
self.assertEqual(os.readlink(os.path.join(copy, "linked")), "src/missing.ts")
|
||||
|
||||
def test_copies_a_folder_below_the_top_that_has_the_scratch_folders_name(self):
|
||||
first, _ = scratch_copy(str(self.top))
|
||||
(self.top / "src" / os.path.basename(first)).mkdir()
|
||||
_, copy = scratch_copy(str(self.top))
|
||||
self.assertTrue(os.path.isdir(os.path.join(copy, "src", os.path.basename(first))))
|
||||
|
||||
def test_fails_without_a_scratch_folder_left_where_the_tree_cannot_be_copied(self):
|
||||
# A socket is an entry that no copy can read.
|
||||
held = socket.socket(socket.AF_UNIX)
|
||||
|
||||
Reference in New Issue
Block a user