#NEWLINE# def test_ghost_object( self ) : #NEWLINE# #INDENT# a = self . controller . ghost_object ( self . net ) #NEWLINE# assert ( a is not self . net ) #NEWLINE# assert ( a . __dict__ == a . net . __dict__ ) #NEWLINE# assert ( a . keys ( ) == self . net . keys ( ) ) #NEWLINE# assert ( a . name in self . controller . keys ( ) ) #NEWLINE# assert ( self . controller [ a . name ] is not a )