mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
attempt to fix test
This commit is contained in:
parent
27641e07b5
commit
4a0829d6ec
|
@ -530,7 +530,7 @@ class TestFilterBackendAppliedToViews(TestCase):
|
||||||
view = DynamicSerializerView.as_view()
|
view = DynamicSerializerView.as_view()
|
||||||
request = factory.get('/')
|
request = factory.get('/')
|
||||||
response = view(request).render()
|
response = view(request).render()
|
||||||
assert 'field_b' in response
|
assert response is 'field_b'
|
||||||
assert 'field_a' not in response
|
assert 'field_a' not in response
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user