MCPcopy
hub / github.com/encode/django-rest-framework / build_absolute_uri

Method build_absolute_uri

tests/test_fields.py:2687–2688  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

2685
2686class MockRequest:
2687 def build_absolute_uri(self, value):
2688 return 'http://example.com' + value
2689
2690
2691class TestFileFieldContext:

Callers 10

get_next_linkMethod · 0.80
get_previous_linkMethod · 0.80
get_html_contextMethod · 0.80
get_next_linkMethod · 0.80
get_previous_linkMethod · 0.80
get_html_contextMethod · 0.80
paginate_querysetMethod · 0.80
to_representationMethod · 0.80
_reverseFunction · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected