Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): adapt QueryResult mock to pass runtime checking
Runtime checking mock objects is an interesting case! Mock objects rightfully get rejected by runtime type checking, the solution is to point the mock object's __class__ to the class of the mocked object. See beartype/beartype#92.
- Loading branch information