Skip to content

Commit 44d36cd

Browse files
Fix python lint issues
1 parent 1a3375a commit 44d36cd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424

2525

2626
def test_binary_version(host):
27-
assert host.run_test("/var/lib/dcl/.dcl/cosmovisor/genesis/bin/dcld version").succeeded
27+
assert host.run_test(
28+
"/var/lib/dcl/.dcl/cosmovisor/genesis/bin/dcld version"
29+
).succeeded
2830

2931

3032
def test_configuration(host):
@@ -48,7 +50,12 @@ def test_configuration(host):
4850
def test_service(host):
4951
svc = host.file("/etc/systemd/system/cosmovisor.service")
5052
assert svc.exists
51-
for prop in ["User=cosmovisor", "Group=dcl", 'Environment="DAEMON_HOME=/var/lib/dcl/.dcl" "DAEMON_NAME=dcld"', "ExecStart=/usr/bin/cosmovisor start"]:
53+
for prop in [
54+
"User=cosmovisor",
55+
"Group=dcl",
56+
'Environment="DAEMON_HOME=/var/lib/dcl/.dcl" "DAEMON_NAME=dcld"',
57+
"ExecStart=/usr/bin/cosmovisor start",
58+
]:
5259
assert prop in svc.content_string
5360

5461

0 commit comments

Comments
 (0)