Testing
Testing Django REST Framework APIs: APITestCase, Authentication, and Serializer Validation
Django REST Framework comes with its own testing layer built on top of Django's TestCase. APITestCase and APIClient understand DRF's authentication schemes, content negotiation, and response parsing. If you're writing raw Django TestCase to test DRF views, you're working harder than you