Skip to content

Commit 77ede28

Browse files
committed
fix broken test
1 parent b108a2a commit 77ede28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_search_archive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ def test_bad_decoder(self):
3333
"engine": "google",
3434
"api_key": os.getenv("API_KEY")
3535
})
36-
with pytest.raises(serpapi.SerpApiException, match=r'Decoder must be json or html'):
36+
with pytest.raises(serpapi.SerpApiException, match=r'Invalid decoder'):
3737
client.search_archive('007', 'bad')

0 commit comments

Comments
 (0)