MCPcopy Index your code
hub / github.com/encode/django-rest-framework / test_outputs

Method test_outputs

tests/test_fields.py:674–677  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

672 f'input value: {repr(input_value)}'
673
674 def test_outputs(self, *args):
675 for output_value, expected_output in get_items(self.outputs):
676 assert self.field.to_representation(output_value) == expected_output, \
677 f'output value: {repr(output_value)}'
678
679
680# Boolean types...

Callers

nothing calls this directly

Calls 2

get_itemsFunction · 0.85
to_representationMethod · 0.45

Tested by

no test coverage detected