Skip to content

Commit 06c6d81

Browse files
committed
Rewrite as bytes literal
1 parent 4d6b9cf commit 06c6d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_livestream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_get_auth_header(self, mock_resp):
101101
self.assertEqual(auth_header[98:102], expected_connection_id_length)
102102

103103
# Check connection ID at position 102-118
104-
expected_connection_id = "ABCDEFGHIJKMLNOP".encode("utf-8")
104+
expected_connection_id = b"ABCDEFGHIJKMLNOP"
105105
self.assertEqual(auth_header[102:118], expected_connection_id)
106106

107107
# Check static trailer at end (4 bytes: 0x00, 0x00, 0x00, 0x01)

0 commit comments

Comments
 (0)