#NEWLINE# def test_gets_404_when_using_incorrect_hash( self ) : #NEWLINE# #INDENT# order = create_order ( ) #NEWLINE# path = reverse ( 'customer:anon-order' , kwargs = { #NEWLINE# #INDENT# 'order_number' : order . number , #NEWLINE# 'hash' : 'bad' , #NEWLINE# #UNINDENT# } ) #NEWLINE# response = self . app . get ( path , status = '*' ) #NEWLINE# self . assertEqual ( http_client . NOT_FOUND , path . status_code )