Closed makaramkd closed 3 years ago
@makaramkd that doesn't solve the problem at all ... and it actually brings issues, since its much better to delete databases after a test run
I agree that its better to drop the database, but I think that this is also a way because the flags: --reuse-db
and --create-db
are eliminating the issue as the tests are reusing the test database or creating a new database if there is a change in the schema.
So now Ill try to drop the database after the test.
Fix PytestWarning: Error when trying to teardown test databases: RuntimeError("generator didn't stop after throw()") #95