File tree 4 files changed +7
-6
lines changed
4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ async def wait(self):
191
191
if not self ._reconnect_task :
192
192
if self .eio .state == 'connected' : # pragma: no cover
193
193
# connected while sleeping above
194
+ print ('oops' )
194
195
continue
195
196
break
196
197
await self ._reconnect_task
@@ -324,7 +325,7 @@ async def disconnect(self):
324
325
for n in self .namespaces :
325
326
await self ._send_packet (self .packet_class (packet .DISCONNECT ,
326
327
namespace = n ))
327
- await self .eio .disconnect (abort = True )
328
+ await self .eio .disconnect ()
328
329
329
330
async def shutdown (self ):
330
331
"""Stop the client.
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ def disconnect(self):
306
306
for n in self .namespaces :
307
307
self ._send_packet (self .packet_class (
308
308
packet .DISCONNECT , namespace = n ))
309
- self .eio .disconnect (abort = True )
309
+ self .eio .disconnect ()
310
310
311
311
def shutdown (self ):
312
312
"""Stop the client.
Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ async def test_disconnect(self):
475
475
c ._send_packet .await_args_list [0 ][0 ][0 ].encode ()
476
476
== expected_packet .encode ()
477
477
)
478
- c .eio .disconnect .assert_awaited_once_with (abort = True )
478
+ c .eio .disconnect .assert_awaited_once_with ()
479
479
480
480
async def test_disconnect_namespaces (self ):
481
481
c = async_client .AsyncClient ()
@@ -993,7 +993,7 @@ async def test_shutdown_disconnect(self):
993
993
c ._send_packet .await_args_list [0 ][0 ][0 ].encode ()
994
994
== expected_packet .encode ()
995
995
)
996
- c .eio .disconnect .assert_awaited_once_with (abort = True )
996
+ c .eio .disconnect .assert_awaited_once_with ()
997
997
998
998
async def test_shutdown_disconnect_namespaces (self ):
999
999
c = async_client .AsyncClient ()
Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ def test_disconnect(self):
633
633
c ._send_packet .call_args_list [0 ][0 ][0 ].encode ()
634
634
== expected_packet .encode ()
635
635
)
636
- c .eio .disconnect .assert_called_once_with (abort = True )
636
+ c .eio .disconnect .assert_called_once_with ()
637
637
638
638
def test_disconnect_namespaces (self ):
639
639
c = client .Client ()
@@ -1138,7 +1138,7 @@ def test_shutdown_disconnect(self):
1138
1138
c ._send_packet .call_args_list [0 ][0 ][0 ].encode ()
1139
1139
== expected_packet .encode ()
1140
1140
)
1141
- c .eio .disconnect .assert_called_once_with (abort = True )
1141
+ c .eio .disconnect .assert_called_once_with ()
1142
1142
1143
1143
def test_shutdown_disconnect_namespaces (self ):
1144
1144
c = client .Client ()
You can’t perform that action at this time.
0 commit comments