Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
devowit committed May 13, 2021
1 parent c81cce4 commit 2f10696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/tests/test_annotation_suggestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

def suggest(client, selection, annotations):
payload = {"selection": selection, "annotations": annotations}
url=f"http://localhost:13000//api/annotation/suggest"+url_appendix
url=f"/api/annotation/suggest"+url_appendix
response = client.put(url, json=payload)
data = response.data.decode("utf-8")
data = json.loads(data)
Expand All @@ -35,7 +35,7 @@ def suggest(client, selection, annotations):
return annotations

def annotate(client, annotations):
url=f"http://localhost:13000//api/annotation"+url_appendix
url=f"/api/annotation"+url_appendix
payload={
"annotations":annotations,
"title":title
Expand Down

0 comments on commit 2f10696

Please sign in to comment.