]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Cosmetics (ordering of checks).
authorDaira Hopwood <daira@jacaranda.org>
Mon, 27 Apr 2015 20:32:31 +0000 (21:32 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 27 Apr 2015 20:32:31 +0000 (21:32 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/test/test_drop_upload.py

index 9ff75a5150d9f853210e8e8e84e0dd8a4951b3f1..ba6250dc891d46310d8657e3989f52e30607862c 100644 (file)
@@ -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