mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix linter warnings
This commit is contained in:
parent
7b58472599
commit
5f36621afa
1 changed files with 1 additions and 3 deletions
|
@ -177,7 +177,7 @@ async def test_publish_client_connect_server_down(transport, io_loop):
|
|||
io_loop.spawn_callback(client.connect)
|
||||
except TimeoutError:
|
||||
pass
|
||||
except Exception:
|
||||
except Exception: # pylint: disable=broad-except
|
||||
log.error("Got exception", exc_info=True)
|
||||
assert client._stream is None
|
||||
client.close()
|
||||
|
@ -227,8 +227,6 @@ async def test_publish_client_connect_server_comes_up(transport, io_loop):
|
|||
import asyncio
|
||||
import socket
|
||||
|
||||
import tornado
|
||||
|
||||
client = salt.transport.tcp.TCPPubClient(opts, io_loop, host=host, port=port)
|
||||
# XXX: This is an implimentation detail of the tcp transport.
|
||||
# await client.connect(port)
|
||||
|
|
Loading…
Add table
Reference in a new issue