Skip to content
Snippets Groups Projects
Commit 3c26d3ba authored by nimrod's avatar nimrod
Browse files

- Fix test when using Docker.

parent c253afa4
No related branches found
No related tags found
No related merge requests found
from testinfra.utils.ansible_runner import AnsibleRunner
testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all')
def test_unattended_upgrades(Service, Package, File, Command): def test_unattended_upgrades(Service, Package, File, Command):
assert Package('unattended-upgrades').is_installed assert Package('unattended-upgrades').is_installed
assert Service('unattended-upgrades').is_enabled assert Service('unattended-upgrades').is_enabled
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment