<reponame>dnsv/catfood-api<filename>catfood/apps/core/tests/classes.py
from rest_framework.test import APITestCase


class TestCase(APITestCase):
    def assertInResponse(self, substring, response):
        self.assertIn(substring, response.content.decode('utf-8'))

from rest_framework.test import APITestCase


class TestCase(APITestCase):
    def assertInResponse(self, substring, response):
        self.assertIn(substring, response.content.decode('utf-8'))