Tests are essential in the software development lifecycle. We need to create tests for the image annotation endpoints.
Steps:
1) Create a test for ImageAnnotationAPIView. It has only one endpoint GET. We can check the status code and the content of the response.
2) Create a test for PostImageAnnotationAPIView. It has two endpoints GET and POST. We can check the status codes and the content of the responses.
Description:
Tests are essential in the software development lifecycle. We need to create tests for the image annotation endpoints.
Steps:
1) Create a test for ImageAnnotationAPIView. It has only one endpoint GET. We can check the status code and the content of the response. 2) Create a test for PostImageAnnotationAPIView. It has two endpoints GET and POST. We can check the status codes and the content of the responses.
Deadline: 25.12.2022 23.59