refactor bumper_confserver_api_appsvr plugin

This commit is contained in:
Robert Resch 2022-03-06 14:14:00 +01:00
parent 23d79e8ea1
commit 89f4b56859
9 changed files with 202 additions and 243 deletions

View file

@ -4,7 +4,7 @@ import pytest
from amqtt.client import MQTTClient
import bumper
from bumper import WebServerBinding
from bumper import WebserverBinding
from tests import CONF_SERVER_PORT, HOST, MQTT_PORT
@ -38,7 +38,7 @@ async def mqtt_client():
@pytest.fixture
async def conf_server_client(aiohttp_client):
confserver = bumper.ConfServer(WebServerBinding(HOST, CONF_SERVER_PORT, False))
confserver = bumper.ConfServer(WebserverBinding(HOST, CONF_SERVER_PORT, False))
client = await aiohttp_client(confserver._app)
yield client