#NEWLINE# def test_accessors_not_setup( self ) : #NEWLINE# #INDENT# info = TorInfo ( self . protocol ) #NEWLINE# self . assertTrue ( ( info . __dict__ [ '_setup' ] is False ) ) #NEWLINE# self . assertRaises ( TypeError , len , info ) #NEWLINE# dir ( info ) #NEWLINE# try : #NEWLINE# #INDENT# info [ 0 ] #NEWLINE# self . fail ( 'Should have raised TypeError' ) #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# pass