Stub PyodbcConnectResourceTypeMock.