Skip to content

Commit c1dd6c2

Browse files
fix tests
1 parent a1a314e commit c1dd6c2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/notice_fetcher/test_ted_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ def test_ted_api_error():
2929
ted = TedAPIAdapter(request_api=TedRequestAPI())
3030
with pytest.raises(Exception) as e:
3131
ted.get_by_query(query={"q": "NDE=67623-2022"})
32-
assert str(e.value) == "The API call failed with: <Response [500]>"
32+
assert str(e.value) == "The TED-API call failed with: <Response [500]>"

tests/e2e/notice_fetcher/test_ted_request_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ def test_ted_request_api():
1111
assert isinstance(notice_by_query, dict)
1212
with pytest.raises(Exception) as e:
1313
ted_api_request(api_url=config.TED_API_URL, api_query={"q": "INCORRECT PARAMS"})
14-
assert str(e.value) == "The API call failed with: <Response [500]>"
14+
assert str(e.value) == "The TED-API call failed with: <Response [500]>"
1515

0 commit comments

Comments
 (0)