I\'m trying to test my webapp2 handlers. To do this, I thought it would be a good idea to send a request to the handler e.g.:
request = webapp2.Request.blank(
You can mock BaseHandler.render_template method and test its parameters.
BaseHandler.render_template
See this question for a list of popular Python mocking frameworks.