Skip to content

Commit 6b3e11e

Browse files
Merge pull request #12 from NHSDigital/NPA-1868-set-oath-scope-to-nhs-p9
Added blank likes to fix linting error in Azure DevOps
2 parents 7599ecb + 1174488 commit 6b3e11e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_endpoints.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,14 @@ def test_app_level0(nhsd_apim_proxy_url, nhsd_apim_auth_headers):
7373
resp = requests.get(f"{nhsd_apim_proxy_url}", headers=nhsd_apim_auth_headers)
7474
assert resp.status_code == 401 # unauthorized
7575

76+
7677
@pytest.mark.skip(reason="TBC: Are we supporting Application level 3 access to the API?")
7778
@pytest.mark.nhsd_apim_authorization({"access": "application", "level": "level3"})
7879
def test_app_level3(nhsd_apim_proxy_url, nhsd_apim_auth_headers):
7980
resp = requests.get(f"{nhsd_apim_proxy_url}", headers=nhsd_apim_auth_headers)
8081
assert resp.status_code == 200
8182

83+
8284
@pytest.mark.skip(reason="Requires API key to be shared with proxy and decision on endpoint and user to use")
8385
@pytest.mark.nhsd_apim_authorization(
8486
{

0 commit comments

Comments
 (0)