#NEWLINE# def test_defaults( self ) : #NEWLINE# #INDENT# def assert_bool_defaults( tgt ) : #NEWLINE# #INDENT# self . assertFalse ( tgt . can_redefine ) #NEWLINE# self . assertFalse ( tgt . can_retransform ) #NEWLINE# self . assertFalse ( tgt . can_set_native_method_prefix ) #NEWLINE# #UNINDENT# agent = self . create_agent ( 'one' , premain = 'jack' ) #NEWLINE# self . assertEqual ( 'jack' , agent . premain ) #NEWLINE# self . assertIsNone ( agent . agent_class ) #NEWLINE# assert_bool_defaults ( agent ) #NEWLINE# agent = self . create_agent ( 'two' , agent_class = 'jill' ) #NEWLINE# self . assertEqual ( 'jill' , agent . agent_class ) #NEWLINE# self . assertIsNone ( agent . premain ) #NEWLINE# assert_bool_defaults ( agent )