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