From 552115a917c2ca765371488793b27b896d9303ee Mon Sep 17 00:00:00 2001 From: dobbi84 Date: Fri, 18 Oct 2024 19:38:38 +0200 Subject: [PATCH] chore: fix test default with correct home Signed-off-by: dobbi84 --- roles/influxdb_exporter/molecule/default/tests/test_default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/influxdb_exporter/molecule/default/tests/test_default.py b/roles/influxdb_exporter/molecule/default/tests/test_default.py index c716b2c3..84cf40ab 100644 --- a/roles/influxdb_exporter/molecule/default/tests/test_default.py +++ b/roles/influxdb_exporter/molecule/default/tests/test_default.py @@ -36,7 +36,7 @@ def test_user(host): assert host.group("influxdb-exp").exists assert "influxdb-exp" in host.user("influxdb-exp").groups assert host.user("influxdb-exp").shell == "/usr/sbin/nologin" - assert host.user("influxdb-exp").home == "/" + assert host.user("influxdb-exp").home == "/etc/influxdb_exporter" def test_service(host):