def test_list_handwritings_validation(client):
  with pytest.raises(handwritingio.ValidationError) as exc_info:
    client.list_handwritings({'order_by': 'rating_friendliness'})
  # The exception should at least say what field has the problem:
  assert 'order_by' in repr(exc_info.value)
dataset/ETHPy150Open handwritingio/python-client/test/test_client.py/test_list_handwritings_validation/original