os.rename(small_tree_dir, new_small_tree_dir)
self.notify_close_write(to_filepath(new_small_tree_dir))
return d2
- d.addCallback(_check_move_empty_tree)
+ d.addCallback(_check_move_small_tree)
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.files_uploaded'), 1))
d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.objects_queued'), 0))