mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
ITOPS-2158 testing
This commit is contained in:
@@ -42,5 +42,10 @@ def test_latest_is_downloaded(host):
|
|||||||
assert installer.user == 'root'
|
assert installer.user == 'root'
|
||||||
|
|
||||||
def test_completed_lockfile(host):
|
def test_completed_lockfile(host):
|
||||||
|
upstream_fd = urllib.request.urlopen(
|
||||||
|
"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')
|
verfile = host.file('/media/atl/bitbucket/shared/downloads/bitbucket.' + upstream + '-x64.bin_completed')
|
||||||
assert verfile.exists
|
assert verfile.exists
|
||||||
|
|||||||
Reference in New Issue
Block a user