#7 tests: temporarily patch Flask-SQLAlchemy to use a specific connection
Closed by mjia. Opened by mjia.
mjia/waiverdb master  into  master

Download 7.patch

Instead of replacing the whole session, we can temporarily patch Flask-SQLAlchemy
to use a specific connection to workaround this issue[1]. This will make it easier
if we want to inspect the state of the db after the test(comment out the monkeypatch
and drop_all).

[1] https://github.com/mitsuhiko/flask-sqlalchemy/issues/345

Pull-Request has been closed by mjia

Metadata