#NEWLINE# @ staticmethod #NEWLINE# def _compare( test , db , obj ) : #NEWLINE# #INDENT# for ( field , value ) in db . items ( ) : #NEWLINE# #INDENT# test . assertEqual ( db [ value ] , getattr ( obj , field ) )