Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
omarryhan committed Sep 3, 2024
1 parent 768d127 commit e0e6d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/refresh_all_apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def refresh_disc_docs_json():

# Refresh discovery files in tests/data
for google_api, (name, version) in zip(all_discovery_documents, all_apis):
if isinstance(google_api, HTTPError):
if isinstance(google_api, (HTTPError, ValueError)):
e = google_api
# filter out the errored api from the final_all_apis
final_all_apis = [api for api in final_all_apis if api[0] != name]
Expand Down

0 comments on commit e0e6d1c

Please sign in to comment.