Add pyodbc attribute to pyodbc mock resource