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:
3b4ad70
)
Clean up test at end
author
David Stainton
<dstainton415@gmail.com>
Tue, 26 May 2015 16:47:44 +0000
(09:47 -0700)
committer
Daira Hopwood
<daira@jacaranda.org>
Tue, 15 Sep 2015 16:55:56 +0000
(17:55 +0100)
this gets rid of the dirty reactor
src/allmydata/test/test_drop_upload.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_drop_upload.py
b/src/allmydata/test/test_drop_upload.py
index 913b834878bb8427c922725d088d12640bea8782..f9cc3759b8fe044f0be43f0b171ce90288f00cf7 100644
(file)
--- a/
src/allmydata/test/test_drop_upload.py
+++ b/
src/allmydata/test/test_drop_upload.py
@@
-274,6
+274,7
@@
class DropUploadTestMixin(GridTestMixin, ShouldFailMixin, ReallyEqualMixin, NonA
d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.files_uploaded'), 0))
d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.objects_queued'), 0))
d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.directories_created'), 1))
+ d.addBoth(self._cleanup)
return d
def test_drop_upload(self):