Ian Cordasco

Ian Cordasco is a maintainer, core developer, and creator of many open source libraries. Of note, Ian is a core developer of Requests and a maintainer of Flake8 as well as the founder of the Python Code Quality Authority (PyCQA).

Posts by: Ian Cordasco

Testing Python-Requests with Betamax

Introduction Requests is one of the most downloaded and widely used Python libraries published on PyPI. Testing Requests, however, is something that most people attempt to avoid, or do only by using mocks and hand-written or hand-copied response data. VCRpy and Betamax are two libraries that avoid using mocks and hand-written or hand-copied data, and empower the developer to be lazy in how they write their tests by recording and…