From e55593bf6c50171a8618bbe89b0f77905a2860a9 Mon Sep 17 00:00:00 2001 From: Glenn Stewart Date: Fri, 1 Nov 2019 13:35:30 +1100 Subject: [PATCH] ITOPS-2158 testing --- .../molecule/bitbucket_latest/tests/test_default.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/product_install/molecule/bitbucket_latest/tests/test_default.py b/roles/product_install/molecule/bitbucket_latest/tests/test_default.py index ed87338..6c28b1b 100644 --- a/roles/product_install/molecule/bitbucket_latest/tests/test_default.py +++ b/roles/product_install/molecule/bitbucket_latest/tests/test_default.py @@ -39,4 +39,8 @@ def test_latest_is_downloaded(host): installer = host.file('/media/atl/bitbucket/shared/downloads/bitbucket.' + upstream + '-x64.bin') assert installer.exists - assert installer.user == 'root' + assert installer.user == 'root' + +def test_completed_lockfile(host): + verfile = host.file('/media/atl/bitbucket/shared/downloads/bitbucket.' + upstream + '-x64.bin_completed') + assert verfile.exists