#NEWLINE# def test_post_data( self ) : #NEWLINE# #INDENT# modelfactories . IssueFactory . create ( ) #NEWLINE# response = self . app . post ( '/api/v2/issues/' , extra_environ = response . extra_environ , status = 405 ) #NEWLINE# self . assertEqual ( response . status_code , 405 )