Contribute Media
A thank you to everyone who makes this possible: Read More

Testing network interactions in Python

Description

Many modern Python applications interact with 3rd parties over network and packages like requests and aiohttp are incredibly popular nowadays. It makes it essential to know how to test network interactions. It is particularly important for microservices - to connect them you need to do network calls.

This talk will walk from most straightforward ad-hoc solutions to more tunable and extensible ones. You’ll learn how to approach testing network on different isolation levels in sync and async code, take away ideas and practices how to use with popular Python tools like responses, pook, VCR, and pytest.

Details

Improve this page