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