Flask Unit Tests With Sqlalchemy And Postgresql Exhausts Db Connections
I'm running a suite of fairly straightforward test cases using Flask, SQLAlchemy, and PostgreSQL. Using an application factory, I've defined a base unit test class like so: class B
Solution 1:
Add db.get_engine(self.app).dispose() after db.drop_all()
Post a Comment for "Flask Unit Tests With Sqlalchemy And Postgresql Exhausts Db Connections"