'Compare (key, value) pairs of a reference dict with the result
Note: the result MAY have additional keys'

def _assert_ref_fields_are_equal(self, reference, result):

    for (field, value) in reference.items():
        self.assertEqual(value, result[field], field)
