In this fully revised edition explore pytests superpowers while creating simple tests and test suites against a small database application. Using a robust yet simple fixture model its just as easy to write small tests with pytest as it is to scale up to complex functional testing.