kopia lustrzana https://github.com/Yakifo/amqtt
removing tests due to unreliable external access
rodzic
c78eb9417d
commit
2828a171d7
|
@ -15,20 +15,20 @@ logging.basicConfig(level=logging.ERROR, format=formatter)
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
# @pytest.mark.asyncio
|
||||||
async def test_connect_tcp():
|
# async def test_connect_tcp():
|
||||||
client = MQTTClient()
|
# client = MQTTClient()
|
||||||
await client.connect("mqtt://broker.hivemq.com:1883/")
|
# await client.connect("mqtt://broker.hivemq.com:1883/")
|
||||||
assert client.session is not None
|
# assert client.session is not None
|
||||||
await client.disconnect()
|
# await client.disconnect()
|
||||||
|
#
|
||||||
|
#
|
||||||
@pytest.mark.asyncio
|
# @pytest.mark.asyncio
|
||||||
async def test_connect_tcp_secure(ca_file_fixture):
|
# async def test_connect_tcp_secure(ca_file_fixture):
|
||||||
client = MQTTClient(config={"check_hostname": False})
|
# client = MQTTClient(config={"check_hostname": False})
|
||||||
await client.connect("mqtts://broker.hivemq.com:8883/")
|
# await client.connect("mqtts://broker.hivemq.com:8883/")
|
||||||
assert client.session is not None
|
# assert client.session is not None
|
||||||
await client.disconnect()
|
# await client.disconnect()
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
|
|
Ładowanie…
Reference in New Issue