internap / python-mockserver-friendly-client

Friendly python client to James D. Bloom's awesome MockServer
Apache License 2.0
14 stars 12 forks source link

Added support of TimeToLive MockServer request matcher feature #7

Closed rocketb closed 6 years ago

rocketb commented 6 years ago

This PR enables to match request in specified time period after expectation is created. see creating expectations

lindycoder commented 6 years ago

I am curious, what is the use case for this? I understand it is supported by the api so i don't mind supporting it but i'm interested in knowing what kind of test would need that

rocketb commented 6 years ago

The case is not for testing but just for cleaning up mockserver expectations if we didn't send the proper request as expected.)

lindycoder commented 6 years ago

All right :)

0.0.5 is out with your addition, thank you! https://pypi.org/project/mockserver-client/