projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cd4156
)
Ensure that fake_inotify is used for restarted clients in MockTest.
author
Daira Hopwood
<daira@jacaranda.org>
Mon, 14 Sep 2015 19:14:29 +0000
(20:14 +0100)
committer
Daira Hopwood
<daira@jacaranda.org>
Mon, 14 Sep 2015 19:14:29 +0000
(20:14 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/test/test_magic_folder.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_magic_folder.py
b/src/allmydata/test/test_magic_folder.py
index d9dfff0b38d9b6cc9473acb454b3f5d6a7c17dab..a885df7bce8d89a0cd2b940914020d73266b7815 100644
(file)
--- a/
src/allmydata/test/test_magic_folder.py
+++ b/
src/allmydata/test/test_magic_folder.py
@@
-408,6
+408,7
@@
class MockTest(MagicFolderTestMixin, unittest.TestCase):
def setUp(self):
MagicFolderTestMixin.setUp(self)
self.inotify = fake_inotify
+ self.patch(magic_folder, 'get_inotify_module', lambda: self.inotify)
def notify(self, path, mask):
self.magicfolder.uploader._notifier.event(path, mask)