Skip to content

Commit ff49551

Browse files
Update tests/unit/client_v2_test.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Signed-off-by: Rahul Johny <116638720+johnyrahul@users.noreply.github.com>
1 parent 55e72d9 commit ff49551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/client_v2_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_whisper_detail_not_found(mocker: MockerFixture, client_v2: LLMWhisperer
7373
with pytest.raises(LLMWhispererClientException) as exc_info:
7474
client_v2.whisper_detail("nonexistent_hash")
7575

76-
error = exc_info.value.args[0]
76+
error = exc_info.value.error_message()
7777
assert error["message"] == "Record not found"
7878
assert error["status_code"] == 400
7979
mock_send.assert_called_once()

0 commit comments

Comments
 (0)