Explorar o código

testsuite/hashindex.py: use compare_indexes in one more spot

Dan Christensen %!s(int64=2) %!d(string=hai) anos
pai
achega
d3fd93f82b
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      src/borg/testsuite/hashindex.py

+ 1 - 3
src/borg/testsuite/hashindex.py

@@ -601,9 +601,7 @@ class HashIndexCompactTestCase(HashIndexDataTestCase):
         assert idx1.size() == 1024 + 3 * (32 + 2 * 4)
 
         master.merge(idx1)
-        assert master[H(1)] == (1, 100)
-        assert master[H(2)] == (2, 200)
-        assert master[H(3)] == (3, 300)
+        self.compare_indexes(idx1, master)
 
 
 class NSIndexTestCase(BaseTestCase):