Skip to content

Commit bb61b86

Browse files
committed
fix: test
1 parent c0a1e5f commit bb61b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_easypost_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_no_api_key():
2222
with pytest.raises(TypeError) as error:
2323
EasyPostClient()
2424

25-
assert str(error.value) == "EasyPostClient.__init__() missing 1 required positional argument: 'api_key'"
25+
assert "missing 1 required positional argument: 'api_key'" in str(error.value)
2626

2727

2828
def test_invalid_client_property():

0 commit comments

Comments
 (0)