I have generated a consumer contract using Pact an...
# documentation
d
I have generated a consumer contract using Pact and uploaded to PactFlow, could someone point me in the direction of how to verify this consumer contract using a Python lambda function ? I see examples for Express and similar in Python but how do I undertake a producer test for a AWS Lambda function ? I am a bit baffled and cannot see any clear examples ?
m
Have you seen the examples in the pact-python repo? There isn't one specifically for AWS Lambda, but the FastAPI and Flask examples should demonstrate the same principles: https://github.com/pact-foundation/pact-python/tree/master/examples
1