mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-352: Fix confluence download test.
This commit is contained in:
@@ -8,7 +8,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
|||||||
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
||||||
|
|
||||||
def test_version_downloaded(host):
|
def test_version_downloaded(host):
|
||||||
verfile = host.file('/media/atl/confluence/shared/confluence.version')
|
verfile = host.file('/media/atl/confluence/shared-home/confluence.version')
|
||||||
assert verfile.exists
|
assert verfile.exists
|
||||||
|
|
||||||
def test_symlink_created(host):
|
def test_symlink_created(host):
|
||||||
@@ -21,7 +21,7 @@ def test_unpacked(host):
|
|||||||
assert verfile.exists
|
assert verfile.exists
|
||||||
|
|
||||||
def test_version_file_is_latest(host):
|
def test_version_file_is_latest(host):
|
||||||
verfile = host.file('/media/atl/confluence/shared/confluence.version')
|
verfile = host.file('/media/atl/confluence/shared-home/confluence.version')
|
||||||
assert verfile.exists
|
assert verfile.exists
|
||||||
|
|
||||||
upstream_fd = urllib.request.urlopen("https://marketplace.atlassian.com/rest/2/applications/confluence/versions/latest")
|
upstream_fd = urllib.request.urlopen("https://marketplace.atlassian.com/rest/2/applications/confluence/versions/latest")
|
||||||
|
|||||||
Reference in New Issue
Block a user