diff --git a/tests/test_testing.py b/tests/test_testing.py index f4881fed0..e6a47d914 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -201,7 +201,7 @@ class TestAPITestClient(TestCase): content_type='application/json' ) self.assertEqual(response.status_code, 200, response.content) - self.assertEqual('{"flag":true}', response.content) + self.assertEqual(response.data, {"flag": True}) class TestAPIRequestFactory(TestCase):