vdk/roles/freedomofpress.signal-desktop/molecule/default/tests/test_default.py
2020-01-13 14:51:16 +01:00

16 lines
358 B
Python
Executable File

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', [
'apt-transport-https',
'signal-desktop',
])
def test_packages_installed(host, pkg):
assert host.package(pkg).is_installed