Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a full suite of tests covering every endpoint #648

Open
44 of 57 tasks
devowit opened this issue Oct 5, 2021 · 0 comments
Open
44 of 57 tasks

Create a full suite of tests covering every endpoint #648

devowit opened this issue Oct 5, 2021 · 0 comments

Comments

@devowit
Copy link
Contributor

devowit commented Oct 5, 2021

Ideally every endpoint more than once, checking multiple possible branches, but at least once.

Progress on this issue:

backend_application.py:

  • ('/api/project/export//all', methods=['POST'])
  • ('/api/set_qnode', methods=['POST'])
  • ('/api/delete_wikification', methods=['POST'])
  • ('/api/files/add_mapping', methods=['POST'])
  • ('/api/qnodes', methods=['GET'])
  • ('/api/query_node/', methods=['GET'])
  • ('/api/yaml/save', methods=['POST'])
  • ('/api/files/rename', methods=['POST'])
  • ('/api/wikifier_service', methods=['POST']) # will fail whenever service is down...
  • ('/api/project/datamart', methods=['GET']) #basically defunct
  • ('/api/project/globalsettings', methods=['PUT', 'GET']) #basically defunct
  • ('/api/project', methods=['GET'])
  • ('/api/project', methods=['POST'])
  • ('/api/data', methods=['POST'])
  • ('/api/wikifier', methods=['POST']) #defunct....?
  • ('/api/project/entities', methods=['POST']) #defunct....?
  • ('/api/yaml/apply', methods=['POST'])
  • ('/api/project/export/', methods=['POST'])
    - [X] tsv
    - [ ] other formats
  • ('/api/table', methods=['GET'])
  • ('/api/project/settings', methods=['PUT', 'GET'])
  • ('/api/project/entities', methods=['GET'])
  • ('/api/project/entities', methods=['PUT'])
  • ('/api/mapping', methods=['GET'])
  • ('/api/annotation/create', methods=['POST'])
  • ('/api/annotation/guess-blocks', methods=['GET'])
  • ('/api/web/wikify_region', methods=['POST']) # this is the country only version
  • ('/api/partialcsv', methods=['GET'])
  • ('/api/auto_wikinodes', methods=['POST'])
  • ('/api/properties', methods=['GET'])
  • ('/api/create_node', methods=['POST'])
  • ('/api/annotation/copy', methods=['POST'])
  • ('/api/annotation', methods=['POST'])
  • ('/api/annotation/suggest', methods=['PUT'])
  • ('/api/files/delete', methods=['POST'])

causx_application.py:

  • ('/api/causx/token', methods=['GET'])
  • ('/api/causx/table', methods=['GET'])
  • ('/api/causx/project/entities', methods=['GET'])
  • ('/api/causx/auto_wikinodes', methods=['POST'])
  • ('/api/causx/annotation', methods=['POST'])
  • ('/api/causx/annotation/suggest', methods=['PUT'])
  • ('/api/causx/annotation/guess-blocks', methods=['GET'])
  • ('/api/causx/project/settings', methods=['PUT', 'GET'])
  • ('/api/causx/delete_wikification', methods=['POST'])
  • ('/api/causx/create_node', methods=['POST'])
  • ('/api/causx/wikify_region', methods=['POST'])
  • ('/api/causx/upload/data', methods=['POST'])
  • ('/api/causx/upload/project', methods=['POST'])
  • ('/api/causx/upload/spreadsheet', methods=['POST'])
  • ('/api/causx/upload/annotation', methods=['POST'])
  • ('/api/causx/download_project', methods=['GET'])
  • ('/api/causx/partialcsv', methods=['GET'])
  • ('/api/causx/download_zip_results', methods=['GET'])
  • ('/api/causx/entity/', methods=['GET'])
  • ('/api/causx/entity/', methods=['PUT'])
  • ('/api/causx/project/download/', methods=['GET'])
  • ('/api/causx/project/fidil_json', methods=['GET'])
  • ('/api/causx/project/upload_fidil_json/', methods=['PUT'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant