#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# application = webapp2 . WSGIApplication ( app . routes , debug = True , config = settings . app_config ) #NEWLINE# application . error_handlers [ 404 ] = handlers . common . handle_404 #NEWLINE# application . error_handlers [ 500 ] = handlers . common . handle_500 #NEWLINE# self . testapp = webtest . TestApp ( self ) #NEWLINE# self . testbed = testbed . Testbed ( ) #NEWLINE# self . testbed . activate ( ) #NEWLINE# self . testbed . init_datastore_v3_stub ( ) #NEWLINE# self . testbed . init_memcache_stub ( )