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

@@ -18,6 +18,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/jira-core.7.13.2-x64.bin_completed')
assert lockfile.exists
assert lockfile.user == 'root'
def test_is_unpacked(host):
installer = host.file('/opt/atlassian/jira-core/7.13.2')
assert installer.exists