Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 488 Bytes

third_homework.md

File metadata and controls

15 lines (10 loc) · 488 Bytes

How to run tests?

python manage.py test

How to understand what a test is(if you were afk in class)?

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