Skip to content

Unable to change response for multiple calls on endpoint #5

@herzrasen

Description

@herzrasen

Hi,

using the Responses library, it is possible to change the reponse of a call by calling add multiple times.

        responses.add('GET', uri, body='{"foo":true}')
        # register different result on second call
        responses.add('GET', uri, body='{"foo":false}')

However this seems impossible using urllib3-mock or did I do something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions