Skip to content

Commit 44e38b6

Browse files
authored
fix: Update test to consider new error message from cryptography (#1765)
1 parent 97ed1c8 commit 44e38b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test__service_account_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_from_dict_bad_private_key():
5353
with pytest.raises(ValueError) as excinfo:
5454
_service_account_info.from_dict(info)
5555

56-
assert excinfo.match(r"key")
56+
assert excinfo.match(r"(?i)(key|PEM)")
5757

5858

5959
def test_from_dict_bad_format():

0 commit comments

Comments
 (0)