summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_project.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_project.py b/tests/test_project.py
index dc41f4c0..bde38c47 100644
--- a/tests/test_project.py
+++ b/tests/test_project.py
@@ -256,7 +256,7 @@ class CopyFile(CopyLinkTestCase):
256 cf = self.CopyFile('bar/foo.txt', 'foo') 256 cf = self.CopyFile('bar/foo.txt', 'foo')
257 self.assertRaises(error.ManifestInvalidPathError, cf._Copy) 257 self.assertRaises(error.ManifestInvalidPathError, cf._Copy)
258 258
259 def test_src_block_dir(self): 259 def test_src_block_copy_from_dir(self):
260 """Do not allow copying from a directory.""" 260 """Do not allow copying from a directory."""
261 src = os.path.join(self.worktree, 'dir') 261 src = os.path.join(self.worktree, 'dir')
262 os.makedirs(src) 262 os.makedirs(src)
@@ -279,7 +279,7 @@ class CopyFile(CopyLinkTestCase):
279 cf = self.CopyFile('foo.txt', 'sym/foo.txt') 279 cf = self.CopyFile('foo.txt', 'sym/foo.txt')
280 self.assertRaises(error.ManifestInvalidPathError, cf._Copy) 280 self.assertRaises(error.ManifestInvalidPathError, cf._Copy)
281 281
282 def test_src_block_dir(self): 282 def test_src_block_copy_to_dir(self):
283 """Do not allow copying to a directory.""" 283 """Do not allow copying to a directory."""
284 src = os.path.join(self.worktree, 'foo.txt') 284 src = os.path.join(self.worktree, 'foo.txt')
285 self.touch(src) 285 self.touch(src)