@pytest.mark.api_gw_method_args({'put_method_args': {'httpMethod': 'GET'}, 'put_method_response_args': {'httpMethod': 'GET'}})
@pytest.mark.lambda_function_args({'name': 'stac_endpoint', 'handler': 'code.handler', 'environment': {'CBERS_STAC_BUCKET': 'bucket'}, 'timeout': 30, 'layers': ({'output_dir': './test', 'layer_dir': './cbers2stac/layers/common', 'tag': 'common'},)})
def test_root(api_gw_method, lambda_function):
    '\n    test_root_endpoint\n    '
    (api_client, api, api_resource) = api_gw_method
    (lambda_client, lambda_func) = lambda_function
    url = api_gw_lambda_integrate_deploy(api_client, api, api_resource, lambda_func)
    req = requests.get(url)
    assert (req.status_code == 200)
test_root_endpoint
@pytest.mark.api_gw_method_args({'put_method_args': {'httpMethod': 'GET'}, 'put_method_response_args': {'httpMethod': 'GET'}})
@pytest.mark.lambda_function_args({'name': 'stac_endpoint', 'handler': 'code.handler', 'environment': {'CBERS_STAC_BUCKET': 'bucket'}, 'timeout': 30, 'layers': ({'output_dir': './test', 'layer_dir': './cbers2stac/layers/common', 'tag': 'common'},)})
def test_root(api_gw_method, lambda_function):
    '\n    \n    '
    (api_client, api, api_resource) = api_gw_method
    (lambda_client, lambda_func) = lambda_function
    url = api_gw_lambda_integrate_deploy(api_client, api, api_resource, lambda_func)
    req = requests.get(url)
    assert (req.status_code == 200)