You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once #399 is fixed, MockContext (src/strawchemy/testing/__init__.py) builds a mocked session whose bind reports the given dialect. DialectContext in tests/unit/utils.py does the same job, but builds its mocks with spec=.
Two options:
replace DialectContext with MockContext in the unit tests
give MockContext the stricter spec= mocks, then drop DialectContext
Activity
refactor(#402)!: make MockContext private (#412)