Add unit tests for the Config class

This commit is contained in:
Stefan Allius
2024-04-23 21:50:13 +02:00
parent f73376b330
commit 549fca8ae5
3 changed files with 130 additions and 33 deletions

View File

@@ -77,7 +77,7 @@ if __name__ == "__main__":
# logging.getLogger('mqtt').setLevel(log_level)
# read config file
Config.read()
Config.class_init()
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)