mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 12:12:19 +03:00
fix(tests): test for membership should be not in
This commit is contained in:
parent
cc21757244
commit
305edf5c9f
|
@ -192,7 +192,7 @@ class ThrottlingTests(TestCase):
|
||||||
if expect is not None:
|
if expect is not None:
|
||||||
assert response['Retry-After'] == expect
|
assert response['Retry-After'] == expect
|
||||||
else:
|
else:
|
||||||
assert not'Retry-After' in response
|
assert 'Retry-After' not in response
|
||||||
|
|
||||||
def test_seconds_fields(self):
|
def test_seconds_fields(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user