You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solved by putting in the @pytest.mark.anyio decorator but this can't be done along with the @pytest.mark.order(-1) decorator that I wanted to use for the APIs to test responses as they come out of the DB once the cron tests have been run.
Making issue to track as would be good to track these tests.
The text was updated successfully, but these errors were encountered:
Testing api endpoints was throwing errors in CI and when run in
make test
.Error:
Issue mentioned in docs -> https://fastapi.tiangolo.com/advanced/async-tests/
Solved by putting in the
@pytest.mark.anyio
decorator but this can't be done along with the@pytest.mark.order(-1)
decorator that I wanted to use for the APIs to test responses as they come out of the DB once the cron tests have been run.Making issue to track as would be good to track these tests.
The text was updated successfully, but these errors were encountered: