diff --git a/src/moin/storage/middleware/_tests/test_indexing.py b/src/moin/storage/middleware/_tests/test_indexing.py index c9b61b972..882159e15 100644 --- a/src/moin/storage/middleware/_tests/test_indexing.py +++ b/src/moin/storage/middleware/_tests/test_indexing.py @@ -279,9 +279,9 @@ def test_index_rebuild(self): expected_all_revs = list(self.imw.documents(idx_name=ALL_REVS)) print("*** all on-the-fly:") - self.imw.dump(idx_name=ALL_REVS) + dumper(self.imw, ALL_REVS) print("*** latest on-the-fly:") - self.imw.dump(idx_name=LATEST_REVS) + dumper(self.imw, LATEST_REVS) # now kill the index and do a full rebuild self.imw.close() @@ -296,9 +296,9 @@ def test_index_rebuild(self): latest_revids = [rev.revid for rev in latest_revs] print("*** all rebuilt:") - self.imw.dump(idx_name=ALL_REVS) + dumper(self.imw, ALL_REVS) print("*** latest rebuilt:") - self.imw.dump(idx_name=LATEST_REVS) + dumper(self.imw, LATEST_REVS) # should be all the same, order does not matter: print(len(expected_all_revs), sorted(expected_all_revs))