#NEWLINE# @ testtools . skip ( 'Skip until Bug 1517730' ) #NEWLINE# def test_bugs_found( self ) : #NEWLINE# #INDENT# bug_numbers = set ( [ '1223158' , '424242' ] ) #NEWLINE# project = 'gtest-org/test' #NEWLINE# commit_id = '781,1' #NEWLINE# commit = '781' #NEWLINE# self . stream . leave_comment ( project , commit_id , bug_numbers ) #NEWLINE# result = self . gerrit . query ( commit , comments = True ) #NEWLINE# comments = result . get ( 'comments' ) #NEWLINE# comment = comments [ ( - 1 ) ] #NEWLINE# self . assertIn ( 'I noticed tempest failed, I think you hit bug(s):' , comment . get ( 'message' ) ) #NEWLINE# self . assertIn ( 'https://bugs.launchpad.net/bugs/1223158' , comment . get ( 'message' ) ) #NEWLINE# self . assertIn ( 'https://bugs.launchpad.net/bugs/424242' , comment . get ( 'message' ) )