fixed session scope
This commit is contained in:
@@ -12,6 +12,6 @@ async def delayed_stop(ad: AppDaemon, delay: float):
|
||||
|
||||
def get_load_order(caplog: pytest.LogCaptureFixture) -> List[str]:
|
||||
for record in caplog.records:
|
||||
if record.name == "AppDaemon._app_management":
|
||||
if "Determined module load order" in record.msg:
|
||||
if record.name == 'AppDaemon._app_management':
|
||||
if 'Determined module load order' in record.msg:
|
||||
return record.args[0]
|
||||
|
||||
Reference in New Issue
Block a user