#NEWLINE# def test_post_account_not_banned( self ) : #NEWLINE# #INDENT# TweetFactory ( pk = 1 , raw_json = '{}' , locale = 'en' , created = datetime . now ( ) ) #NEWLINE# TwitterAccountFactory ( banned = False ) #NEWLINE# request = self . _create_mocked_tweet_request ( ) #NEWLINE# twitter_post ( self ) #NEWLINE# eq_ ( request . twitter . api . update_status . called , True )