#NEWLINE# def testOfflineClientStatus( self ) : #NEWLINE# #INDENT# client_id = self . CreateClient ( last_ping = ( rdfvalue . RDFDatetime ( ) . Now ( ) - rdfvalue . Duration ( '1d' ) ) ) #NEWLINE# self . Open ( ( '/#c=' + str ( client_id ) ) ) #NEWLINE# self . WaitUntil ( self . IsElementPresent , "css=img[src$='offline.png']" )