Mockserver-friendly-client calls verify with:
{
"httpRequest": {...},
"times": {
"exact": true,
"count": self.count
}
}
But MockServer expects:
{
"httpRequest": {...},
"times": {
"atLeast": true
"atMost": self.count
}
}
Verify documentation
I suggest changing
|
def for_verification(self): |
|
return {"exact": True, "count": self.count} |
to return
{"atLeast": self.count, "atMost": self.count}
Mockserver-friendly-client calls verify with:
But MockServer expects:
Verify documentation
I suggest changing
python-mockserver-friendly-client/mockserver_friendly/__init__.py
Lines 107 to 108 in 900f5ab
to return
{"atLeast": self.count, "atMost": self.count}