Skip to content

Data pattern matching for lists broken between 0.20.2 and 0.21.1 #263

@alex-young

Description

@alex-young

Using httpx==0.25.1

Test case:

def test_respx_data_list():
    with respx.mock:
        respx.post("http://example.com", data={"foo": ["bar"]})
        httpx.post("http://example.com", data={"foo": ["bar"]})

In 0.20.2 this test passes as expected. In 0.21.1 it fails with a AllMockedAssertionError

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