File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
# [ Django Rest Framework Docs] ( http://www.drfdocs.com/ ) [ ![ travis] [ travis-image ]] [ travis-url ] [ ![ codecov] [ codecov-image ]] [ codecov-url ] [ ![ pypi] [ pypi-image ]] [ pypi-url ]
2
2
3
- Document Web APIs made with Django Rest Framework.
3
+ Document Web APIs made with Django Rest Framework. [ View Demo ] ( http://demo.drfdocs.com/ )
4
4
5
5
![ DRFdocs] ( http://drfdocs.com/static/images/mockup.png )
6
6
Original file line number Diff line number Diff line change @@ -42,9 +42,7 @@ def test_index_view_with_endpoints(self):
42
42
self .assertEqual (str (response .context ["endpoints" ][8 ].errors ), "'test_value'" )
43
43
44
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 )
45
+ response = self .client .get ("%s?search=reset-password" % reverse ("drfdocs" ))
48
46
49
47
self .assertEqual (response .status_code , 200 )
50
48
self .assertEqual (len (response .context ["endpoints" ]), 2 )
You can’t perform that action at this time.
0 commit comments