ITOPSENG-101 initial molecule tests commit

This commit is contained in:
Brett Meehan
2019-11-08 15:13:34 +11:00
parent 48904ca084
commit 9d7626a14a
6 changed files with 126 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ def test_latest_is_downloaded(host):
upstream_json = json.load(upstream_fd)
upstream = upstream_json['version']
installer = host.file('/media/atl/jira/shared/downloads/jira-core.'+upstream+'-x64.bin')
installer = host.file('/media/atl/downloads/jira-core.'+upstream+'-x64.bin')
assert installer.exists
assert installer.user == 'root'
@@ -32,6 +32,6 @@ def test_completed_lockfile(host):
upstream_json = json.load(upstream_fd)
upstream = upstream_json['version']
lockfile = host.file('/media/atl/jira/shared/downloads/jira-core.'+upstream+'-x64.bin_completed')
lockfile = host.file('/media/atl/downloads/jira-core.'+upstream+'-x64.bin_completed')
assert lockfile.exists
assert lockfile.user == 'root'