From 92e740302afe936f1ef6282215a22b0da53dd2cc Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Fri, 16 Oct 2015 03:27:59 +0100 Subject: [PATCH] Patch Downloader.REMOTE_SCAN_INTERVAL rather than setting it persistently. Signed-off-by: Daira Hopwood --- src/allmydata/test/test_magic_folder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_magic_folder.py b/src/allmydata/test/test_magic_folder.py index 5fca3cba..0d03e686 100644 --- a/src/allmydata/test/test_magic_folder.py +++ b/src/allmydata/test/test_magic_folder.py @@ -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"] -- 2.45.2