This fixes the pytest problem which threw: TypeError: isinstance() arg 2 must be a type, a tuple of types, or a union during Mocking
This fixes the pytest problem which threw: TypeError: isinstance() arg 2 must be a type, a tuple of types, or a union during Mocking