]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Patch Downloader.REMOTE_SCAN_INTERVAL rather than setting it persistently.
authorDaira Hopwood <daira@jacaranda.org>
Fri, 16 Oct 2015 02:27:59 +0000 (03:27 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 16 Oct 2015 02:27:59 +0000 (03:27 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/test/test_magic_folder.py

index 5fca3cba278bbe4e3a8b82bbd5999216233beaee..0d03e686f7bd4b90cc775304d22184700e6d09cc 100644 (file)
@@ -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"]