removing tests due to unreliable external access

pull/224/head
Andrew Mirsky 2025-06-16 10:13:33 -04:00
rodzic c78eb9417d
commit 2828a171d7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: A98E67635CDF2C39
1 zmienionych plików z 14 dodań i 14 usunięć

Wyświetl plik

@ -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