#NEWLINE# def test_user_id_only( self ) : #NEWLINE# #INDENT# self . request . headers [ 'X_USER_ID' ] = 'testuserid' #NEWLINE# response = self . request . get_response ( self . middleware ) #NEWLINE# self . assertEqual ( response . status , '200 OK' ) #NEWLINE# self . assertEqual ( self . context . user_id , 'testuserid' )