We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de05686 commit 1ac22cdCopy full SHA for 1ac22cd
pytest_flask_sqlalchemy/fixtures.py
@@ -110,7 +110,7 @@ class EngineMock(mocker.MagicMock):
110
111
# Calls to execution_options should return this mocked engine
112
engine.execution_options.return_value = engine
113
- sa.inspection._registrar[EngineMock] = sa.engine.Inspector._engine_insp
+ sa.inspection._registrars[EngineMock] = sa.engine.Inspector._engine_insp
114
115
# References to `Engine.dialect` should redirect to the Connection (this
116
# is primarily useful for the `autoload` flag in SQLAlchemy, which references
0 commit comments