We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78eecb7 commit eaa56fbCopy full SHA for eaa56fb
tests/tests.py
@@ -42,9 +42,7 @@ def test_index_view_with_endpoints(self):
42
self.assertEqual(str(response.context["endpoints"][8].errors), "'test_value'")
43
44
def test_index_search_with_endpoints(self):
45
- url = "%s?search=reset-password" % reverse("drfdocs")
46
- print(url)
47
- response = self.client.get(url)
+ response = self.client.get("%s?search=reset-password" % reverse("drfdocs"))
48
49
self.assertEqual(response.status_code, 200)
50
self.assertEqual(len(response.context["endpoints"]), 2)
0 commit comments