CCM-23637: Release 4.75.0 - #1097
Merged
Merged
Azure Pipelines / Communications-Manager-Nightly-Internal-QA
failed
Sep 21, 2026 in 5m 50s
Build #release+572078 had test failures
Details
- Failed: 1 (0.11%, 1 new, 0 recurring)
- Passed: 915 (99.89%)
- Other: 0 (0.00%)
- Total: 916
Annotations
Check failure on line 17 in Build log
azure-pipelines / Communications-Manager-Nightly-Internal-QA
Build log #L17
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 1989 in Build log
azure-pipelines / Communications-Manager-Nightly-Internal-QA
Build log #L1989
Bash exited with code '2'.
Check failure on line 1 in test_single_page[None-J82001]
azure-pipelines / Communications-Manager-Nightly-Internal-QA
test_single_page[None-J82001]
AssertionError: Response: 404:
{
"errors" : [
{
"id" : "rrt-3539770731074556321-c-geu2-1892411-4726445-1.0",
"code" : "CM_NOT_FOUND",
"links" : {
"about" : "https://digital.nhs.uk/developer/api-catalogue/nhs-notify"
},
"status" : "404",
"title" : "Resource not found",
"detail" : "Report not found"
}
]
}
assert
404
==
200
Raw output
url = 'https://internal-qa.api.service.nhs.uk/comms'
bearer_token = Secret(********), ods_code = 'J82001', page = None
@pytest.mark.test
@pytest.mark.devtest
@pytest.mark.inttest
@pytest.mark.prodtest
@pytest.mark.parametrize("ods_code", LIVE_ODS_CODES)
@pytest.mark.parametrize("page", VALID_SINGLE_PAGE_NUMBERS)
def test_single_page(url, bearer_token, ods_code, page):
"""
.. include:: ../partials/happy_path/test_200_get_nhsapp_accounts_single_page.rst
"""
headers = Generators.generate_valid_headers(bearer_token.value)
resp = requests.get(
f"{url}{NHSAPP_ACCOUNTS_ENDPOINT}",
headers=headers,
params={
ODS_CODE_PARAM_NAME: ods_code,
PAGE_PARAM_NAME: page
})
> Assertions.assert_200_response_nhsapp_accounts(resp, url, ods_code, 1)
tests/api/nhsapp_accounts/test_200_success.py:29:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
resp = <Response [404]>
base_url = 'https://internal-qa.api.service.nhs.uk/comms', ods_code = 'J82001'
page = 1
@staticmethod
def assert_200_response_nhsapp_accounts(resp, base_url, ods_code, page):
error_handler.handle_retry(resp)
> assert resp.status_code == 200, f"Response: {resp.status_code}: {resp.text}"
E AssertionError: Response: 404:
E {
E "errors" : [
E {
E "id" : "rrt-3539770731074556321-c-geu2-1892411-4726445-1.0",
E "code" : "CM_NOT_FOUND",
E "links" : {
E "about" : "https://digital.nhs.uk/developer/api-catalogue/nhs-notify"
E },
E "status" : "404",
E "title" : "Resource not found",
E "detail" : "Report not found"
E }
E ]
E }
E
E assert
E 404
E
E ==
E 200
tests/lib/assertions/assertions.py:51: AssertionError
Loading