From 876351c4db84937d5bbd66d42b7167b44ae7f3a4 Mon Sep 17 00:00:00 2001 From: I335851 Date: Wed, 8 Jul 2026 22:30:35 +0200 Subject: [PATCH] tests: fix failing test in MockHeaderResponse bytes is the correct concrete type for the content field and matches the b'' default value. --- tests/test_vendor_sap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_vendor_sap.py b/tests/test_vendor_sap.py index 6e1eb4b..ec1acef 100644 --- a/tests/test_vendor_sap.py +++ b/tests/test_vendor_sap.py @@ -275,7 +275,7 @@ def test_add_btp_token_to_session_invalid_clientid(): class MockHeaderResponse(NamedTuple): headers: dict - content: ByteString = b'' + content: bytes = b'' status_code: int = 200