aboutsummaryrefslogtreecommitdiff
path: root/tests/test_backend_output_consumer.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_backend_output_consumer.py')
-rw-r--r--tests/test_backend_output_consumer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_backend_output_consumer.py b/tests/test_backend_output_consumer.py
index 2ecb07f..2a46787 100644
--- a/tests/test_backend_output_consumer.py
+++ b/tests/test_backend_output_consumer.py
@@ -79,9 +79,9 @@ def test_base64_output_consumer(expected_metrics: dict) -> None:
json_b64 = base64.b64encode(json_str.encode("utf-8"))
return (
OUTPUT_MATCH_ALL # Should not be matched by the Base64OutputConsumer
- + f"<{Base64OutputConsumer.TAG_NAME}>".encode("utf-8")
+ + f"<{Base64OutputConsumer.TAG_NAME}>".encode()
+ bytearray(json_b64)
- + f"</{Base64OutputConsumer.TAG_NAME}>".encode("utf-8")
+ + f"</{Base64OutputConsumer.TAG_NAME}>".encode()
+ OUTPUT_NO_MATCH # Just to add some difficulty...
)