Chapter 1
Testing
Section 9
Mocking External Resources
How can we create more sophisticated mock objects that have internal state and make their own internal state changes? Let’s dive into these questions. - Use the create_response() helper method that builds response-like objects - Define a load_tests() function to combine the unittest suite with test examples found docstrings of sec11_v08_load - Provide the overall main program to run the complete suite