diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 81ab4cc71..80ed1cd7e 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2006-11-23 Alex Roitman + * test/GrampsDb/GrampsDbBase_Test.py (test_reindex_reference_map): + Properly define lambda to fake the _update_reference_map method. * test/GrampsDb/GrampsDbTestBase.py (tearDown): Close database at the end of test. diff --git a/gramps2/test/GrampsDb/GrampsDbBase_Test.py b/gramps2/test/GrampsDb/GrampsDbBase_Test.py index 660b9b782..252c399de 100644 --- a/gramps2/test/GrampsDb/GrampsDbBase_Test.py +++ b/gramps2/test/GrampsDb/GrampsDbBase_Test.py @@ -156,7 +156,7 @@ class ReferenceMapTest (GrampsDbBaseTest): # unhook the reference_map update function so that we # can insert some records without the reference_map being updated. update_method = self._db._update_reference_map - self._db._update_reference_map = lambda x: 1 + self._db._update_reference_map = lambda x,y: 1 # Insert a person/source pair. source = self._add_source()