Skip to content

Expect/Verify Expectations No Longer Works #23

Description

@garnesen

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions