use the inherited implementation!

This commit is contained in:
Jean-Paul Calderone 2021-03-17 14:34:19 -04:00
parent 9425197832
commit 9ae3f2074f

View File

@ -30,9 +30,6 @@ MAX_DELTA_READS = 10 * READ_LEEWAY # N = 10
timeout=240 # François's ARM box timed out after 120 seconds of Verifier.test_corrupt_crypttext_hashtree timeout=240 # François's ARM box timed out after 120 seconds of Verifier.test_corrupt_crypttext_hashtree
class RepairTestMixin(object): class RepairTestMixin(object):
def failUnlessIsInstance(self, x, xtype):
self.failUnless(isinstance(x, xtype), x)
def _count_reads(self): def _count_reads(self):
sum_of_read_counts = 0 sum_of_read_counts = 0
for (i, ss, storedir) in self.iterate_servers(): for (i, ss, storedir) in self.iterate_servers():