Skip to content

Commit b62adfc

Browse files
fixes error
1 parent 06e1738 commit b62adfc

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/integration/test_headers.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525

2626
_SPECIALTY_REF_DATA_URL = "/FHIR/STU3/CodeSystem/SPECIALTY"
2727
_SEARCH_HEALTHCARE_SERVICE_R4_URL = "/FHIR/R4/HealthcareService"
28-
_APIM_APP_FLOW_VARS = (
29-
'{"ers": {"allowListodsCode": [ ' + app_restricted_ods_code + "]}}"
30-
)
3128

3229

3330
@pytest.mark.integration_test
@@ -37,11 +34,12 @@ class TestHeaders:
3734
async def test_headers_on_echo_target(
3835
self, authenticate_user, service_url, user: Actor, asid
3936
):
40-
with update_user_restricted_app_attr("apim-app-flow-vars", _APIM_APP_FLOW_VARS):
37+
with update_user_restricted_app_attr(
38+
"apim-app-flow-vars",
39+
'{"ers": {"allowListodsCode": [ ' + app_restricted_ods_code + " ]}}",
40+
):
4141
access_code = await authenticate_user(user)
4242

43-
print(f"new attribute apim-app-flow-vars: {_APIM_APP_FLOW_VARS}")
44-
4543
client_request_headers = {
4644
_HEADER_ECHO: "", # enable echo target
4745
_HEADER_AUTHORIZATION: "Bearer " + access_code,

0 commit comments

Comments
 (0)