resolve mypy issue on mqttserver.py

This commit is contained in:
Robert Resch 2022-01-30 22:33:31 +01:00
parent 479c0f1cba
commit 226f7556ce
7 changed files with 165 additions and 176 deletions

View file

@ -7,7 +7,7 @@ from tests import HOST, MQTT_PORT
@pytest.fixture
async def mqtt_server():
mqtt_server = bumper.MQTTServer(HOST, MQTT_PORT, password_file="tests/passwd")
await mqtt_server.broker_coro()
await mqtt_server.start()
bumper.mqtt_server = mqtt_server
yield