We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a1e5f commit bb61b86Copy full SHA for bb61b86
tests/test_easypost_client.py
@@ -22,7 +22,7 @@ def test_no_api_key():
22
with pytest.raises(TypeError) as error:
23
EasyPostClient()
24
25
- assert str(error.value) == "EasyPostClient.__init__() missing 1 required positional argument: 'api_key'"
+ assert "missing 1 required positional argument: 'api_key'" in str(error.value)
26
27
28
def test_invalid_client_property():
0 commit comments