#NEWLINE# def test_already_loaded_model( self ) : #NEWLINE# #INDENT# signals . post_init . connect ( self . receiver , sender = 'signals.Book' , weak = False ) #NEWLINE# try : #NEWLINE# #INDENT# instance = Book ( ) #NEWLINE# self . assertEqual ( instance . received , [ { #NEWLINE# #INDENT# 'signal' : signals . post_init , #NEWLINE# 'sender' : Book , #NEWLINE# 'instance' : instance , #NEWLINE# #UNINDENT# } ] ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# signals . post_init . disconnect ( self . receiver , sender = Book )