#NEWLINE# def testShowsGenerateArchiveButtonForArtifactDownloaderHunt( self ) : #NEWLINE# #INDENT# stat_entry = rdf_client . StatEntry ( aff4path = 'aff4:/foo/bar' ) #NEWLINE# values = [ collectors . ArtifactFilesDownloaderResult ( downloaded_file = stat_entry ) ] #NEWLINE# with self . ACLChecksDisabled ( ) : #NEWLINE# #INDENT# self . CreateGenericHuntWithCollection ( values = values ) #NEWLINE# #UNINDENT# self . Open ( '/' ) #NEWLINE# self . Click ( 'css=a[grrtarget=ManageHunts]' ) #NEWLINE# self . Click ( "css=td:contains('GenericHunt')" ) #NEWLINE# self . Click ( 'css=li[heading=Results]' ) #NEWLINE# self . WaitUntil ( self . IsTextPresent , 'Files referenced in this collection can be downloaded' )