about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-12-07 16:29:33 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-12-09 17:51:13 +0100
commit4324d082b2476b43a12aa857b27771cb456c64dd (patch)
treeefdfe86d7a848671085d8b7e781a1d11f3c3b77b /nixos/tests
parenta9c8c99442748f1580909f3642008d8acb43d42d (diff)
downloadnixlib-4324d082b2476b43a12aa857b27771cb456c64dd.tar
nixlib-4324d082b2476b43a12aa857b27771cb456c64dd.tar.gz
nixlib-4324d082b2476b43a12aa857b27771cb456c64dd.tar.bz2
nixlib-4324d082b2476b43a12aa857b27771cb456c64dd.tar.lz
nixlib-4324d082b2476b43a12aa857b27771cb456c64dd.tar.xz
nixlib-4324d082b2476b43a12aa857b27771cb456c64dd.tar.zst
nixlib-4324d082b2476b43a12aa857b27771cb456c64dd.zip
nixos/tests/home-assistant: check for lovelace resources in config
This was recently fixed, but the test was not updated.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/home-assistant.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/home-assistant.nix b/nixos/tests/home-assistant.nix
index 9200723f35e7..05fb2fa1e06a 100644
--- a/nixos/tests/home-assistant.nix
+++ b/nixos/tests/home-assistant.nix
@@ -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'")
 
     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")
 
     with subtest("Check that optional dependencies are in the PYTHONPATH"):