Skip to content

Throwing an error  #1

@Grifo89

Description

@Grifo89

async def test_sign_new_user(default_client: httpx.AsyncClient) -> None:

It's throwing and error AttributeError: 'async_generator' object has no attribute 'post'. I solved it declaring the function this way async def test_sign_new_user(default_client = httpx.AsyncClient()) -> None:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions