Skip to content

Commit

Permalink
Patch Downloader.REMOTE_SCAN_INTERVAL rather than setting it persiste…
Browse files Browse the repository at this point in the history
…ntly.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
  • Loading branch information
daira committed Oct 16, 2015
1 parent 07b80cf commit 5297f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/allmydata/test/test_magic_folder.py
Expand Up @@ -32,7 +32,7 @@ def setUp(self):
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"]
Expand Down

0 comments on commit 5297f99

Please sign in to comment.