mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
AZURE-211 Renamed az_* files to azure_*
This commit is contained in:
17
roles/azure_common/molecule/default/tests/test_default.py
Normal file
17
roles/azure_common/molecule/default/tests/test_default.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import os
|
||||
import pytest
|
||||
|
||||
import testinfra.utils.ansible_runner
|
||||
|
||||
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
|
||||
|
||||
@pytest.mark.parametrize('pkg', [
|
||||
'netcat',
|
||||
'rsync',
|
||||
'cifs-utils',
|
||||
'python-lxml'
|
||||
])
|
||||
def test_pkg(host, pkg):
|
||||
package = host.package(pkg)
|
||||
assert package.is_installed
|
||||
Reference in New Issue
Block a user