#NEWLINE# def test_non_existant_exit_pk( self ) : #NEWLINE# #INDENT# 'Ensure logout fails if no exit pk present in session' #NEWLINE# s = response . client . session #NEWLINE# s [ 'exit_users_pk' ] = [ [ '999' , 'django.contrib.auth.backends.ModelBackend' ] ] #NEWLINE# s . save ( ) #NEWLINE# response = self . client . get ( reverse ( 'su_logout' ) ) #NEWLINE# self . assertEqual ( response . status_code , 404 )