AttributeError: ‘async_generator’ object has no attribute ‘add’
I’m trying to run a test suite on FastAPI endpoints that use a database connection. I’m using FastAPI’s dependency injection on the endpoint, which I attempt to override with a test database during testing.