Skip to content

Commit eaa56fb

Browse files
Remove print from tests
1 parent 78eecb7 commit eaa56fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/tests.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ def test_index_view_with_endpoints(self):
4242
self.assertEqual(str(response.context["endpoints"][8].errors), "'test_value'")
4343

4444
def test_index_search_with_endpoints(self):
45-
url = "%s?search=reset-password" % reverse("drfdocs")
46-
print(url)
47-
response = self.client.get(url)
45+
response = self.client.get("%s?search=reset-password" % reverse("drfdocs"))
4846

4947
self.assertEqual(response.status_code, 200)
5048
self.assertEqual(len(response.context["endpoints"]), 2)

0 commit comments

Comments
 (0)