mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +00:00
test_cli_cp: minor cleanup
This commit is contained in:
parent
98ab848cda
commit
e5979f970f
@ -949,11 +949,11 @@ class CopyOut(GridTestMixin, CLITestMixin, unittest.TestCase):
|
||||
return set(["E6-MANYONE"])
|
||||
if err == "target is not a directory, but ends with a slash":
|
||||
return set(["E7-BADSLASH"])
|
||||
if err == "cannot copy multiple files with the same name into the same target directory":
|
||||
return set(["E9-COLLIDING-TARGETS"])
|
||||
if (err.startswith("source ") and
|
||||
"is not a directory, but ends with a slash" in err):
|
||||
return set(["E8-BADSLASH"])
|
||||
if err == "cannot copy multiple files with the same name into the same target directory":
|
||||
return set(["E9-COLLIDING-TARGETS"])
|
||||
self.fail("unrecognized error ('%s') %s" % (case, res))
|
||||
d.addCallback(_check)
|
||||
return d
|
||||
|
Loading…
Reference in New Issue
Block a user