[tor-commits] [stem/master] Style edit: make 'unused' content in bytes definition easier to pick out

atagar at torproject.org atagar at torproject.org
Thu Jul 12 18:53:11 UTC 2018


commit 18831a53a36cec3ca063395cae57447e65bedc4e
Author: Dave Rolek <dmr-x at riseup.net>
Date:   Thu Jul 12 02:33:11 2018 +0000

    Style edit: make 'unused' content in bytes definition easier to pick out
    
    This could've also been done inline in the earlier commit, but wasn't so
    that it would be easier to identify the moved content therein.
---
 test/unit/client/cell.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/client/cell.py b/test/unit/client/cell.py
index e42d7e7a..433eab57 100644
--- a/test/unit/client/cell.py
+++ b/test/unit/client/cell.py
@@ -78,7 +78,7 @@ CERTS_CELLS = {
   b'\x00\x00\x81\x00\x01\x00': ([], b'', 2),
   b'\x00\x00\x81\x00\x04\x01\x01\x00\x00': ([Certificate(1, b'')], b'', 2),
   b'\x00\x00\x81\x00\x05\x01\x01\x00\x01\x08': ([Certificate(1, b'\x08')], b'', 2),
-  b'\x00\x00\x81\x00\x07\x01\x01\x00\x01\x08\x06\x04': ([Certificate(1, b'\x08')], b'\x06\x04', 2),
+  b'\x00\x00\x81\x00\x07\x01\x01\x00\x01\x08' + b'\x06\x04': ([Certificate(1, b'\x08')], b'\x06\x04', 2),
 }
 
 AUTH_CHALLENGE_CELLS = {





More information about the tor-commits mailing list