From fed5b8eb082aae81f63d2cfd760827f6cc3247a8 Mon Sep 17 00:00:00 2001 From: Andrew Mirsky Date: Thu, 12 Jun 2025 11:03:28 -0400 Subject: [PATCH] shutdown broker when test completes --- tests/test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_client.py b/tests/test_client.py index ad0a5cc..8d49035 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -333,7 +333,7 @@ async def test_client_no_auth(): broker = Broker(plugin_namespace='tests.mock_plugins', config=config) await broker.start() - with pytest.raises(ConnectError): await client.connect("mqtt://127.0.0.1:1883/") + await broker.shutdown()