Skip to content

Commit c97b516

Browse files
[ERSSUP-89806]-[]-[Further assertion fixes]-[JW]
1 parent 027e90b commit c97b516

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/test_app_restricted.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def test_authorised_application_not_supported_for_user_restricted(
5151
+ response.status_code
5252
)
5353

54-
assert response.status_code == None
54+
assert response.text == ""
5555

5656
assert (
5757
response.headers[RenamedHeader.CORRELATION_ID.original]

tests/integration/test_headers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ async def test_headers_on_echo_target_with_app_restricted_business_function(
109109
)
110110

111111
response_body = response.text
112-
assert response_body == None, (
112+
assert response_body == "", (
113113
"Expected no response body of the response when attempting to call the endpoint, but instead received "
114114
+ response_body
115115
)

0 commit comments

Comments
 (0)