MCPcopy Create free account
hub / github.com/encode/django-rest-framework / get_html_context

Method get_html_context

tests/test_pagination.py:378–379  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

376 return response.data
377
378 def get_html_context(self):
379 return self.pagination.get_html_context()
380
381 def test_no_offset(self):
382 request = Request(factory.get('/', {'limit': 5}))

Callers 8

test_no_offsetMethod · 0.95
test_single_offsetMethod · 0.95
test_first_offsetMethod · 0.95
test_middle_offsetMethod · 0.95
test_ending_offsetMethod · 0.95
test_erroneous_offsetMethod · 0.95
get_html_contextMethod · 0.45
get_html_contextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected