ITOPS-2158 Remaining molecule unit tests

This commit is contained in:
Glenn Stewart
2019-11-01 14:52:57 +11:00
parent ae67349527
commit c10b312148
13 changed files with 84 additions and 3 deletions

View File

@@ -27,6 +27,11 @@ def test_is_downloaded(host):
assert installer.exists
assert installer.user == 'root'
def test_completed_lockfile(host):
lockfile = host.file('/media/atl/jira/shared/downloads/servicedesk.'+sd+'-x64.bin_completed')
assert lockfile.exists
assert lockfile.user == 'root'
def test_is_unpacked(host):
installer = host.file('/opt/atlassian/jira-servicedesk/'+sd)
assert installer.exists