Skip to content

Commit

Permalink
Catch exception one level higher to allow index meta-databases to fai…
Browse files Browse the repository at this point in the history
…l during CI (#80)
  • Loading branch information
ml-evs committed Jul 7, 2022
1 parent af401a5 commit 4175e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_index_metadb(self):
response_content = query_optimade(info_endpoint)
else:
raise
except urllib.error.HTTPError as exc:
except urllib.error.URLError as exc:
fallback_string = (
""
if len(tested_info_endpoints) == 1
Expand Down

0 comments on commit 4175e7d

Please sign in to comment.