Skip to content

Commit

Permalink
Update port 8001
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreemt committed Aug 10, 2023
1 parent fcb6480 commit dd0a8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_deepl_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

def test_deepl_server():
try:
_ = requests.get("http://127.0.0.1:8000/text/?q=test me", verify=False, timeout=5)
_ = requests.get("http://127.0.0.1:8001/text/?q=test me", verify=False, timeout=5)
res = str(_.json())
except Exception as exc:
logger.error(exc)
Expand All @@ -67,7 +67,7 @@ def test_deepl_server():
else: # Windows wait longer
sleep(140)
try:
_ = requests.get("http://127.0.0.1:8000/text/?q=test me", verify=False, timeout=5)
_ = requests.get("http://127.0.0.1:8001/text/?q=test me", verify=False, timeout=5)
res = str(_.json())
except Exception as exc:
logger.error("2nd try: %s", exc)
Expand Down

0 comments on commit dd0a8de

Please sign in to comment.