Skip to content

Throwing an error  #1

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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