Move bool coerce up to initialisation.

This commit is contained in:
Steve Smith
2021-01-22 12:26:08 +11:00
parent 7c23b7f478
commit 2a67095acc
5 changed files with 9 additions and 6 deletions

View File

@@ -34,4 +34,8 @@ def test_completed_lockfile(host):
lockfile = host.file('/media/atl/downloads/jira-core.'+upstream+'-x64.bin_completed')
assert lockfile.exists
assert lockfile.user == 'root'
assert lockfile.user == 'root'
def test_servicedesk_not_installed(host):
jars = host.file('/media/atl/jira/shared/plugins/installed-plugins')
assert len(list(filter(lambda p: 'servicedesk' in p, jars))) == 0