Skip to content

Commit 1ac22cd

Browse files
committed
typo
1 parent de05686 commit 1ac22cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_flask_sqlalchemy/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class EngineMock(mocker.MagicMock):
110110

111111
# Calls to execution_options should return this mocked engine
112112
engine.execution_options.return_value = engine
113-
sa.inspection._registrar[EngineMock] = sa.engine.Inspector._engine_insp
113+
sa.inspection._registrars[EngineMock] = sa.engine.Inspector._engine_insp
114114

115115
# References to `Engine.dialect` should redirect to the Connection (this
116116
# is primarily useful for the `autoload` flag in SQLAlchemy, which references

0 commit comments

Comments
 (0)