aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/molecule/default/tests/test_lineinfile_strategy.py
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-08-11 01:39:58 +0200
committerColin Wilk <colin@wilk.cx>2026-08-11 01:45:24 +0200
commitac3c94b3159acf91674fdd61396e5811a6a55fb3 (patch)
treea9f8c3f86308835d100e638edfc68cbf77ffecc8 /molecule/default/tests/test_lineinfile_strategy.py
parentf31bda03a2922d2b7d09be6772a5cf28f0981c8b (diff)
downloadansible-role-prometheus-target-ac3c94b3159acf91674fdd61396e5811a6a55fb3.tar.gz
ansible-role-prometheus-target-ac3c94b3159acf91674fdd61396e5811a6a55fb3.zip
Fix pre-commit lint violations
Diffstat (limited to 'molecule/default/tests/test_lineinfile_strategy.py')
-rw-r--r--molecule/default/tests/test_lineinfile_strategy.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/molecule/default/tests/test_lineinfile_strategy.py b/molecule/default/tests/test_lineinfile_strategy.py
index d7f9738..77363ac 100644
--- a/molecule/default/tests/test_lineinfile_strategy.py
+++ b/molecule/default/tests/test_lineinfile_strategy.py
@@ -20,7 +20,9 @@ def test_lineinfile_bootstrap_adds_first_host_without_breaking_yaml(host):
assert target.user == "prometheus"
assert target.group == "prometheus"
assert target.mode == 0o600
- assert read_yaml_file(host, "/opt/lineinfile_first_host.yml") == ["application:9100"]
+ assert read_yaml_file(host, "/opt/lineinfile_first_host.yml") == [
+ "application:9100"
+ ]
def test_lineinfile_adds_subsequent_host_to_existing_yaml(host):