Skip to content

Commit

Permalink
update error type
Browse files Browse the repository at this point in the history
  • Loading branch information
chongyouquan committed Jun 7, 2022
1 parent e940880 commit 787ac03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/aiplatform/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,5 +587,5 @@ def test_load_yaml_from_ar_uri(self, mock_requests_get):
assert actual == expected

def test_load_yaml_from_invalid_uri(self):
with pytest.raises(ValueError):
with pytest.raises(FileNotFoundError):
yaml_utils.load_yaml("https://us-docker.pkg.dev/v2/proj/repo/img/tags/list")

0 comments on commit 787ac03

Please sign in to comment.