pytest anyio – create a mongodb motor fixture that lasts throughout session
I want to create a mongodb session with motor that will start and end with the tests with pytest and the anyio pytest plugin. But after tests are run, the entries persist in the database.