def noid(d):
 d.pop('id', None)
 d.pop('action_id', None)
 return d

def noid ( d ) : d . pop ( 'id' , None ) d . pop ( 'action_id' , None ) return d
removes values that are not relevant for the test comparisons .