A: Django use the experience to use TestCase test interface
https://juejin.im/post/5c186c6a5188254fef232f6d
Use TestCase test APIView Interface
Generating test data using a mixer in TestCase
Two: python-depth test
http://www.ttlsa.com/docs/dive-into-python3/unit-testing.html