Skip to content

Commit 6dc1165

Browse files
authored
Merge pull request #74 from minrk/fix-test-properties
get test_properties_list passing
2 parents 92c0b0d + 3f423eb commit 6dc1165

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test_systemd.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,10 @@ async def test_properties_list():
185185
['-c', 'pwd > test-1/test-2/pwd'],
186186
working_dir=d,
187187
properties={
188-
'ExecStartPre': [
189-
'/bin/mkdir test-1',
190-
'/bin/mkdir test-1/test-2'
188+
"ExecStartPre": [
189+
f"/bin/mkdir -p {d}/test-1/test-2",
191190
],
192-
}
191+
},
193192
)
194193

195194
# Wait a tiny bit for the systemd unit to complete running

0 commit comments

Comments
 (0)