#NEWLINE# def test_404_if_not_accessible( self ) : #NEWLINE# #INDENT# 'Test 404 if not accessible' #NEWLINE# self . project . is_private = True #NEWLINE# self . project . save ( ) #NEWLINE# task = self . _create_task ( ) #NEWLINE# response = self . api_client . get ( '{}{}/' . format ( response . url , task ) ) #NEWLINE# response . status_code . should . be . equal ( 404 )