#NEWLINE# def test_404_when_task_without_project( self ) : #NEWLINE# #INDENT# 'Test 404 when task without project' #NEWLINE# task = self . _create_task ( 'not exists' ) #NEWLINE# response = self . api_client . get ( '{}{}/' . format ( response . url , task ) ) #NEWLINE# response . status_code . should . be . equal ( 404 )