fix Mqtt init call for unit tests
This commit is contained in:
@@ -44,7 +44,7 @@ def get_table_data():
|
|||||||
|
|
||||||
@web.route('/mqtt-fetch')
|
@web.route('/mqtt-fetch')
|
||||||
async def mqtt_fetch():
|
async def mqtt_fetch():
|
||||||
mqtt = Mqtt()
|
mqtt = Mqtt(None)
|
||||||
ctime = format_datetime(dt=mqtt.ctime, format='short')
|
ctime = format_datetime(dt=mqtt.ctime, format='short')
|
||||||
data = {
|
data = {
|
||||||
"update-time": format_datetime(format="medium"),
|
"update-time": format_datetime(format="medium"),
|
||||||
|
|||||||
Reference in New Issue
Block a user