python manage.py test
https://docs.djangoproject.com/en/3.2/topics/testing/overview/
What you should do for homework?
-
Write tests for all of the functons in the ApiProcessor class
-
ApiProcessor is located in
elsys/processors/api_processor
You can see the functions in action by going to this urls:
http://localhost:8000/post_with_longest_title
http://localhost:8000/longest_comment