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

@@ -46,6 +46,7 @@ def test_completed_lockfile(host):
"https://marketplace.atlassian.com/rest/2/applications/bitbucket/versions/latest")
upstream_json = json.load(upstream_fd)
upstream = upstream_json['version']
verfile = host.file('/media/atl/bitbucket/shared/downloads/bitbucket.' + upstream + '-x64.bin_completed')
assert verfile.exists
lockfile = host.file('/media/atl/bitbucket/shared/downloads/bitbucket.' + upstream + '-x64.bin_completed')
assert lockfile.exists
assert lockfile.user == 'root'