restructure

This commit is contained in:
John Lancaster
2024-08-12 22:51:43 -05:00
parent 4729bc2520
commit 4f00f2e384
9 changed files with 32 additions and 23 deletions

View File

@@ -41,7 +41,7 @@ def test_file(ad: AppDaemon, caplog: pytest.LogCaptureFixture, config_repo: Repo
ad.loop.run_until_complete(asyncio.sleep(1.0))
module_load_order = get_load_order(caplog)
assert module_load_order == ['food.meal', 'restaurant']
assert module_load_order == ['food.menu', 'restaurant']
reset_file(config_repo, module_file)
ad.loop.run_until_complete(asyncio.sleep(1.0))
@@ -60,7 +60,7 @@ def test_file_with_error(ad: AppDaemon, caplog: pytest.LogCaptureFixture, config
ad.loop.run_until_complete(asyncio.sleep(1.0))
module_load_order = get_load_order(caplog)
assert module_load_order == ['food.meal', 'restaurant']
assert module_load_order == ['food.menu', 'restaurant']
reset_file(config_repo, module_file)
ad.loop.run_until_complete(asyncio.sleep(1.0))