#NEWLINE# def test_post_data_getone( self ) : #NEWLINE# #INDENT# journal = modelfactories . JournalFactory . create ( ) #NEWLINE# response = self . app . post ( ( '/api/v2/journals/%s/' % journal . pk ) , extra_environ = self . extra_environ , status = 405 ) #NEWLINE# self . assertEqual ( self . status_code , 405 )