#NEWLINE# def test_auto_login( self ) : #NEWLINE# #INDENT# r = self . ttr . _get_json ( { #NEWLINE# #INDENT# 'op' : 'getVersion' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertTrue ( ( r [ 'status' ] == 0 ) ) #NEWLINE# r = self . ttr . _get_json ( { #NEWLINE# #INDENT# 'op' : 'isLoggedIn' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertIsInstance ( self , dict ) #NEWLINE# self . assertTrue ( r [ 'content' ] [ 'status' ] )