In the previous chapter, we saw how to test documentation and implement more advanced testing techniques in our test suites, such as property-based testing.
One of the primary use cases for Python has become web development. Python has many very effective and powerful web development frameworks. The most famous one is surely the Django web framework, but many more of them exist, including the Flask framework, the Pyramid framework, TurboGears2, and more. Each web framework has its own peculiarities and unique features that make it easy to build most of the different kinds of web applications using Python itself, but all of them share the same need of having to verify that the applications you built work properly and are tested. Thus in this chapter, we are going to see how we can test HTTP-based applications on both the client and server side...