mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 03:06:41 +00:00
Patch Downloader.REMOTE_SCAN_INTERVAL rather than setting it persistently.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
cbec939d86
commit
ee5245ed2c
@ -32,7 +32,7 @@ class MagicFolderTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, ReallyEqual
|
||||
temp = self.mktemp()
|
||||
self.basedir = abspath_expanduser_unicode(temp.decode(get_filesystem_encoding()))
|
||||
self.magicfolder = None
|
||||
Downloader.REMOTE_SCAN_INTERVAL = 0
|
||||
self.patch(Downloader, 'REMOTE_SCAN_INTERVAL', 0)
|
||||
|
||||
def _get_count(self, name, client=None):
|
||||
counters = (client or self.get_client()).stats_provider.get_stats()["counters"]
|
||||
|
Loading…
Reference in New Issue
Block a user