undertheseanlp / underthesea

Underthesea - Vietnamese NLP Toolkit
http://undertheseanlp.com
GNU General Public License v3.0
1.37k stars 271 forks source link

Create unittest for django API #628

Closed rain1024 closed 1 year ago

rain1024 commented 1 year ago

This issue concerns creating a unit test for a Django API. A unit test is a type of automated test that checks a small component of an application, in this case, the Django API.

The goal of this task is to write a test or tests that verify the functionality of the API. This might include testing that the API is able to handle various types of requests, such as GET, POST, or DELETE, and that it returns the expected responses for these requests. It could also involve testing that the API is able to handle different types of input data and that it behaves correctly when given invalid data.