mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 18:22:40 +00:00
Flush the UnrecoverableFileError from perform-scan
This commit is contained in:
parent
79bfb8acb6
commit
1d97486c29
@ -32,6 +32,9 @@ from allmydata import magicfolderdb, magicpath
|
|||||||
from allmydata.util.fileutil import get_pathinfo
|
from allmydata.util.fileutil import get_pathinfo
|
||||||
from allmydata.util.fileutil import abspath_expanduser_unicode
|
from allmydata.util.fileutil import abspath_expanduser_unicode
|
||||||
from allmydata.immutable.upload import Data
|
from allmydata.immutable.upload import Data
|
||||||
|
from allmydata.mutable.common import (
|
||||||
|
UnrecoverableFileError,
|
||||||
|
)
|
||||||
|
|
||||||
from .eliotutil import (
|
from .eliotutil import (
|
||||||
eliot_logged_test,
|
eliot_logged_test,
|
||||||
@ -931,6 +934,7 @@ class MagicFolderAliceBobTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, Rea
|
|||||||
# now let bob try to do the download
|
# now let bob try to do the download
|
||||||
yield iterate(self.bob_magicfolder)
|
yield iterate(self.bob_magicfolder)
|
||||||
|
|
||||||
|
self.eliot_logger.flushTracebacks(UnrecoverableFileError)
|
||||||
logged = self.eliot_logger.flushTracebacks(NoSharesError)
|
logged = self.eliot_logger.flushTracebacks(NoSharesError)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
1,
|
1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user