Skip to content

Commit

Permalink
Use my teapot service over httpstat.us in tests
Browse files Browse the repository at this point in the history
Theory: simple fly.io-hosted service might be more universally
available, and easier for me to run locally. I observed some httpstat.us
downtime.
  • Loading branch information
lukasschwab committed Oct 25, 2023
1 parent 39b13ca commit b1aaa0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,5 @@ def get_code_client(code: int, delay_seconds=0.1, num_retries=3) -> arxiv.Client
httpstat.us.
"""
client = arxiv.Client(delay_seconds=delay_seconds, num_retries=num_retries)
client.query_url_format = "https://httpstat.us/{}?".format(code) + "{}"
client.query_url_format = "https://teapot.fly.dev/{}?".format(code) + "{}"
return client

0 comments on commit b1aaa0c

Please sign in to comment.