mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/tests/home-assistant: check for lovelace resources in config
This was recently fixed, but the test was not updated.
This commit is contained in:
parent
a9c8c99442
commit
4324d082b2
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ in {
|
||||||
hass.wait_until_succeeds("journalctl -u home-assistant.service | grep -q 'We found a custom integration prometheus_sensor which has not been tested by Home Assistant'")
|
hass.wait_until_succeeds("journalctl -u home-assistant.service | grep -q 'We found a custom integration prometheus_sensor which has not been tested by Home Assistant'")
|
||||||
|
|
||||||
with subtest("Check that lovelace modules are referenced and fetchable"):
|
with subtest("Check that lovelace modules are referenced and fetchable"):
|
||||||
hass.succeed("grep -q 'mini-graph-card-bundle.js' '${configDir}/ui-lovelace.yaml'")
|
hass.succeed("grep -q 'mini-graph-card-bundle.js' '${configDir}/configuration.yaml'")
|
||||||
hass.succeed("curl --fail http://localhost:8123/local/nixos-lovelace-modules/mini-graph-card-bundle.js")
|
hass.succeed("curl --fail http://localhost:8123/local/nixos-lovelace-modules/mini-graph-card-bundle.js")
|
||||||
|
|
||||||
with subtest("Check that optional dependencies are in the PYTHONPATH"):
|
with subtest("Check that optional dependencies are in the PYTHONPATH"):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue