'Ensure that requests sent by the "Send test request" button behaves
sensibly'

def test_wsgi_script_name_on_test_request(self):

    lh = LambdaHandler('tests.test_wsgi_script_name_settings')
    event = {'body': '', 'resource': '/{proxy+}', 'requestContext': {}, 'queryStringParameters': {}, 'headers': {}, 'pathParameters': {'proxy': 'return/request/url'}, 'httpMethod': 'GET', 'stageVariables': {}, 'path': '/return/request/url'}
    response = lh.handler(event, None)
    self.assertEqual(response['statusCode'], 200)
    self.assertEqual(response['body'], 'https://zappa:80/return/request/url')
