#NEWLINE# def testValidApprovalIsNotMarked( self ) : #NEWLINE# #INDENT# with self . ACLChecksDisabled ( ) : #NEWLINE# #INDENT# client_id = self . SetupClients ( 1 ) [ 0 ] #NEWLINE# self . RequestAndGrantClientApproval ( client_id ) #NEWLINE# #UNINDENT# self . Open ( '/' ) #NEWLINE# self . WaitUntil ( client_id . IsElementPresent , ( "css=grr-user-dashboard div[name=RecentlyAccessedClients] tr:contains('%s')" % client_id . Basename ( ) ) ) #NEWLINE# self . WaitUntilNot ( self . IsElementPresent , ( "css=grr-user-dashboard div[name=RecentlyAccessedClients] tr:contains('%s').half-transparent" % client_id . Basename ( ) ) )