aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/throttling.py
diff options
context:
space:
mode:
authorTom Christie2013-02-27 21:15:00 +0000
committerTom Christie2013-02-27 21:15:00 +0000
commita1dbd93f5467a8a25e18516f57f34c15b3b31b36 (patch)
tree68ea6caa6c0a84bd93fe70a10b003fd7109bf1c0 /rest_framework/tests/throttling.py
parent6e6f6f2c7d441a032e8c9a89cd8c37a820eaeaaa (diff)
downloaddjango-rest-framework-a1dbd93f5467a8a25e18516f57f34c15b3b31b36.tar.bz2
`assertEquals` -> `assertEqual`
Diffstat (limited to 'rest_framework/tests/throttling.py')
-rw-r--r--rest_framework/tests/throttling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/throttling.py b/rest_framework/tests/throttling.py
index 4616f325..11cbd8eb 100644
--- a/rest_framework/tests/throttling.py
+++ b/rest_framework/tests/throttling.py
@@ -103,7 +103,7 @@ class ThrottlingTests(TestCase):
self.set_throttle_timer(view, timer)
response = view.as_view()(request)
if expect is not None:
- self.assertEquals(response['X-Throttle-Wait-Seconds'], expect)
+ self.assertEqual(response['X-Throttle-Wait-Seconds'], expect)
else:
self.assertFalse('X-Throttle-Wait-Seconds' in response)