From: Daira Hopwood Date: Mon, 27 Apr 2015 20:32:31 +0000 (+0100) Subject: Cosmetics (ordering of checks). X-Git-Url: https://git.rkrishnan.org/pf?a=commitdiff_plain;h=5b6721e6718e49125dc7f0dc2d0814f3b4467bbe;p=tahoe-lafs%2Ftahoe-lafs.git Cosmetics (ordering of checks). Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/test/test_drop_upload.py b/src/allmydata/test/test_drop_upload.py index 9ff75a51..ba6250dc 100644 --- a/src/allmydata/test/test_drop_upload.py +++ b/src/allmydata/test/test_drop_upload.py @@ -160,9 +160,9 @@ class DropUploadTestMixin(GridTestMixin, ShouldFailMixin, ReallyEqualMixin, NonA return d2 d.addCallback(testMoveSmallTree) d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.objects_uploaded'), 3)) - d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.directories_created'), 2)) d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.files_uploaded'), 1)) 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'), 2)) d.addBoth(self._cleanup) return d