diff options
| author | Marko Tibold | 2012-11-15 22:48:22 +0100 |
|---|---|---|
| committer | Marko Tibold | 2012-11-15 22:48:22 +0100 |
| commit | 403886b79b9bf5790ee6f07d6ca915cff5b3035a (patch) | |
| tree | 987db12d60d8dbf56d8f23ff694d7208df6e3184 /rest_framework/tests/throttling.py | |
| parent | 69a01d71256b9923aac1b8d1b91063068ecfebf7 (diff) | |
| parent | 3b258d69c92e9d9293f7c5d1690f0ca434e677e3 (diff) | |
| download | django-rest-framework-403886b79b9bf5790ee6f07d6ca915cff5b3035a.tar.bz2 | |
Merge commit '3b258d69c92e9d9293f7c5d1690f0ca434e677e3' into file_and_image_fields
Diffstat (limited to 'rest_framework/tests/throttling.py')
| -rw-r--r-- | rest_framework/tests/throttling.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/throttling.py b/rest_framework/tests/throttling.py index 0b94c25b..4b98b941 100644 --- a/rest_framework/tests/throttling.py +++ b/rest_framework/tests/throttling.py @@ -106,7 +106,7 @@ class ThrottlingTests(TestCase): if expect is not None: self.assertEquals(response['X-Throttle-Wait-Seconds'], expect) else: - self.assertFalse('X-Throttle-Wait-Seconds' in response.headers) + self.assertFalse('X-Throttle-Wait-Seconds' in response) def test_seconds_fields(self): """ |
