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.
2 parents b21fcdd + f80cb26 commit bc077e7Copy full SHA for bc077e7
turu-core/src/turu/core/mock/store.py
@@ -45,7 +45,10 @@ def provide_response(
45
46
_row_type, _response = self._data.pop(0)
47
48
- if _row_type is not row_type:
+ if _row_type is not row_type and not (
49
+ row_type.__module__ == _row_type.__module__
50
+ and row_type.__name__ == _row_type.__name__
51
+ ):
52
raise TuruMockResponseTypeMismatchError(row_type, _row_type, self._counter)
53
54
if isinstance(_response, Exception):
0 commit comments