def test_index_2(self): processing = ExactMatchProcessing(ref_attr_index=0, target_attr_index=0) ref_record = ['Victor Hugo', 0] target_record = ['Victor Hugo', 1] d = processing.distance(ref_record, target_record) self.assertEqual(d, 0)