#NEWLINE# def test_hide_tweets_with_replies( self ) : #NEWLINE# #INDENT# 'Hiding tweets with replies is not allowed.' #NEWLINE# tw = TweetFactory ( ) #NEWLINE# TweetFactory ( reply_to_id = r . tweet_id ) #NEWLINE# r = self . client . post ( reverse ( 'customercare.hide_tweet' , locale = 'en-US' ) , { #NEWLINE# #INDENT# 'id' : tw . tweet_id , #NEWLINE# #UNINDENT# } ) #NEWLINE# eq_ ( r . status_code , 400 )