'Ensure nested validation error detail is rendered correctly.'

def test_nested_validation_error_detail(self):

    e = serializers.ValidationError({u'nested': {u'field': [u'error']}})
    assert (serializers.as_serializer_error(e) == {u'nested': {u'field': [u'error']}})
