aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/status.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/tests/status.py')
-rw-r--r--rest_framework/tests/status.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/rest_framework/tests/status.py b/rest_framework/tests/status.py
index 30df5cef..e1644a6b 100644
--- a/rest_framework/tests/status.py
+++ b/rest_framework/tests/status.py
@@ -1,4 +1,5 @@
"""Tests for the status module"""
+from __future__ import unicode_literals
from django.test import TestCase
from rest_framework import status
@@ -8,5 +9,5 @@ class TestStatus(TestCase):
def test_status(self):
"""Ensure the status module is present and correct."""
- self.assertEquals(200, status.HTTP_200_OK)
- self.assertEquals(404, status.HTTP_404_NOT_FOUND)
+ self.assertEqual(200, status.HTTP_200_OK)
+ self.assertEqual(404, status.HTTP_404_NOT_FOUND)