mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
13 lines
305 B
Python
13 lines
305 B
Python
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
|