Commit f5a900a4 by Asif Saifuddin Auvi

some reverts to fix test

parent a5bb9825
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment