#NEWLINE# def cookies( request , test_case ) : #NEWLINE# #INDENT# if ( test_case == 'simple' ) : #NEWLINE# #INDENT# if ( ( 'simple' in request . COOKIES ) and ( request . COOKIES [ 'simple' ] == 'SIMPLE_VALUE' ) ) : #NEWLINE# #INDENT# return redirect ( '/static/site_generic/event_main.html' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return HttpResponse ( 'Cookie not found!' ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# raise Http404