mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
Fix test_errors.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
9646a3ce3e
commit
583066b364
@ -905,9 +905,8 @@ class MockTest(MagicFolderTestMixin, unittest.TestCase):
|
||||
self.shouldFail(AssertionError, 'non-directory upload.dircap', 'does not refer to a directory',
|
||||
MagicFolder, client, 'URI:LIT:foo', '', errors_dir, magicfolderdb)
|
||||
self.shouldFail(AssertionError, 'readonly upload.dircap', 'is not a writecap to a directory',
|
||||
MagicFolder, client, readonly_dircap, '', errors_dir, magicfolderdb,)
|
||||
self.shouldFail(AssertionError, 'collective dircap',
|
||||
"The URI in '%s' is not a readonly cap to a directory." % os.path.join('private', 'collective_dircap'),
|
||||
MagicFolder, client, readonly_dircap, '', errors_dir, magicfolderdb)
|
||||
self.shouldFail(AssertionError, 'collective dircap', 'is not a readonly cap to a directory',
|
||||
MagicFolder, client, upload_dircap, upload_dircap, errors_dir, magicfolderdb)
|
||||
|
||||
def _not_implemented():
|
||||
|
Loading…
x
Reference in New Issue
Block a user