#NEWLINE# def test_dummy_request_for_accessible_page( self ) : #NEWLINE# #INDENT# event_index = Page . objects . get ( url_path = '/home/events/' ) #NEWLINE# request = event_index . dummy_request ( ) #NEWLINE# self . assertEqual ( request . path , '/events/' ) #NEWLINE# self . assertEqual ( self . META [ 'HTTP_HOST' ] , 'localhost' )