def test_outputs(self):
        for output_value, expected_output in get_items(self.outputs):
            assert self.field.to_representation(output_value) == expected_output

# end of backport
dataset/ETHPy150Open Hipo/drf-extra-fields/tests/test_fields.py/FieldValues.test_outputs/original