mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-386: Start of DIY backup installation.
This commit is contained in:
12
roles/diy_backup/molecule/default/tests/test_default.py
Normal file
12
roles/diy_backup/molecule/default/tests/test_default.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import os
|
||||
|
||||
import testinfra.utils.ansible_runner
|
||||
|
||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
||||
|
||||
|
||||
def test_git_clone(host):
|
||||
f = host.file('/opt/atlassian/bitbucket-diy-backup')
|
||||
assert f.exists
|
||||
assert f.is_directory
|
||||
Reference in New Issue
Block a user