#NEWLINE# def test_requires_auth( self ) : #NEWLINE# #INDENT# project = self . create_project ( ) #NEWLINE# plan = self . create_plan ( project , label = 'Foo' ) #NEWLINE# path = '/api/0/plans/{0}/steps/' . format ( plan . id . hex ) #NEWLINE# resp = self . client . post ( self ) #NEWLINE# assert ( resp . status_code == 401 )