From 80c25e6806e8154b6e03b123f1cf12cc0214d53b Mon Sep 17 00:00:00 2001
From: meejah <meejah@meejah.ca>
Date: Thu, 8 Oct 2015 13:02:54 -0600
Subject: [PATCH] utest fixups

---
 src/allmydata/test/test_magic_folder.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/allmydata/test/test_magic_folder.py b/src/allmydata/test/test_magic_folder.py
index c14edc8e..555900fe 100644
--- a/src/allmydata/test/test_magic_folder.py
+++ b/src/allmydata/test/test_magic_folder.py
@@ -258,16 +258,14 @@ class MagicFolderTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, ReallyEqual
             with open(path, 'w') as f:
                 f.write('foo\n')
             self.notify(to_filepath(path), self.inotify.IN_CLOSE_WRITE)
-            x = yield up_proc
-            self.assertIs(x, None)  # some things "return" an Exception instead of raising it
+            yield up_proc
             self.assertTrue(os.path.exists(path))
 
             # the real test part: delete the file
             proc = self.magicfolder.uploader.set_hook('processed')
             os.unlink(path)
             self.notify(to_filepath(path), self.inotify.IN_DELETE)
-            x = yield proc
-            self.assertIs(x, None)
+            yield down_proc
             self.assertFalse(os.path.exists(path))
 
             # ensure we still have a DB entry, and that the version is 1
-- 
2.45.2