Skip to content

Commit 472ac3b

Browse files
committed
fix comments
1 parent 91690f4 commit 472ac3b

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

tests/test_reconnect.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -75,82 +75,82 @@ def handle_disconnect(client, user_data, zero):
7575
[],
7676
bytearray(
7777
[
78-
0x20,
78+
0x20, # CONNACK
7979
0x02,
8080
0x00,
81-
0x00, # CONNACK
82-
0x90,
81+
0x00,
82+
0x90, # SUBACK
8383
0x03,
8484
0x00,
8585
0x01,
86-
0x00, # SUBACK
87-
0x20,
86+
0x00,
87+
0x20, # CONNACK
8888
0x02,
8989
0x00,
90-
0x00, # CONNACK
91-
0x90,
90+
0x00,
91+
0x90, # SUBACK
9292
0x03,
9393
0x00,
9494
0x02,
9595
0x00,
9696
]
97-
), # SUBACK
97+
),
9898
),
9999
(
100100
[("foo/bar", 0)],
101101
bytearray(
102102
[
103-
0x20,
103+
0x20, # CONNACK
104104
0x02,
105105
0x00,
106-
0x00, # CONNACK
107-
0x90,
106+
0x00,
107+
0x90, # SUBACK
108108
0x03,
109109
0x00,
110110
0x01,
111-
0x00, # SUBACK
112-
0x20,
111+
0x00,
112+
0x20, # CONNACK
113113
0x02,
114114
0x00,
115-
0x00, # CONNACK
116-
0x90,
115+
0x00,
116+
0x90, # SUBACK
117117
0x03,
118118
0x00,
119119
0x02,
120120
0x00,
121121
]
122-
), # SUBACK
122+
),
123123
),
124124
(
125125
[("foo/bar", 0), ("bah", 0)],
126126
bytearray(
127127
[
128-
0x20,
128+
0x20, # CONNACK
129129
0x02,
130130
0x00,
131-
0x00, # CONNACK
132-
0x90,
131+
0x00,
132+
0x90, # SUBACK
133133
0x03,
134134
0x00,
135135
0x01,
136136
0x00,
137-
0x00, # SUBACK
138-
0x20,
137+
0x00,
138+
0x20, # CONNACK
139139
0x02,
140140
0x00,
141-
0x00, # CONNACK
142-
0x90,
141+
0x00,
142+
0x90, # SUBACK
143143
0x03,
144144
0x00,
145145
0x02,
146-
0x00, # SUBACK
147-
0x90,
146+
0x00,
147+
0x90, # SUBACK
148148
0x03,
149149
0x00,
150150
0x03,
151151
0x00,
152152
]
153-
), # SUBACK
153+
),
154154
),
155155
]
156156

0 commit comments

Comments
 (0)