#NEWLINE# def test_share_article( self ) : #NEWLINE# #INDENT# title = 'Testing publish' #NEWLINE# url = 'http://{0}.com' . format ( time . time ( ) ) #NEWLINE# content = 'Test content' #NEWLINE# self . ttr . share_to_published ( title , url , content ) #NEWLINE# h = self . ttr . get_headlines ( feed_id = ( - 2 ) ) #NEWLINE# l = [ h . link for headline in h ] #NEWLINE# self . assertIn ( url , l )