#NEWLINE# def do_generic_add( self , data ) : #NEWLINE# #INDENT# sshfp = SSHFP ( ** data ) #NEWLINE# sshfp . __repr__ ( ) #NEWLINE# sshfp . save ( ) #NEWLINE# self . assertTrue ( sshfp . details ( ) ) #NEWLINE# self . assertTrue ( sshfp . get_absolute_url ( ) ) #NEWLINE# self . assertTrue ( sshfp . get_edit_url ( ) ) #NEWLINE# self . assertTrue ( sshfp . get_delete_url ( ) ) #NEWLINE# rsshfp = SSHFP . objects . filter ( ** sshfp ) #NEWLINE# self . assertEqual ( len ( rsshfp ) , 1 ) #NEWLINE# return sshfp