ITOPS-2158 testing

This commit is contained in:
Glenn Stewart
2019-11-01 12:22:50 +11:00
parent 8022b59157
commit 17366378de
6 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "7.10.2"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/jira-core.7.10.2-x64.bin')
installer = host.file('/media/atl/jira/shared/downloads/jira-core.7.10.2-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "7.10.1"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/jira-core.7.10.1-x64.bin')
installer = host.file('/media/atl/jira/shared/downloads/jira-core.7.10.1-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -35,6 +35,6 @@ def test_latest_is_downloaded(host):
upstream_json = json.load(upstream_fd)
upstream = upstream_json['version']
installer = host.file('/opt/atlassian/tmp/jira-software.'+upstream+'-x64.bin')
installer = host.file('/media/atl/jira/shared/downloads/jira-software.'+upstream+'-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "3.9.0"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/servicedesk.3.9.0-x64.bin')
installer = host.file('/media/atl/jira/shared/downloads/servicedesk.3.9.0-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "4.1.0"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/servicedesk.4.1.0-x64.bin')
installer = host.file('/media/atl/jira/shared/downloads/servicedesk.4.1.0-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -23,7 +23,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == sd
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/servicedesk.'+sd+'-x64.bin')
installer = host.file('/media/atl/jira/shared/downloads/servicedesk.'+sd+'-x64.bin')
assert installer.exists
assert installer.user == 'root'