#NEWLINE# def test_no_request_context( self ) : #NEWLINE# #INDENT# "Switches and Samples shouldn't require a request context." #NEWLINE# request = get ( ) #NEWLINE# content = process_request ( request , views . no_request_context ) #NEWLINE# assert ( 'switch off' in content ) #NEWLINE# assert ( 'sample' in request )