Skip to content
Snippets Groups Projects
Commit e0c115f9 authored by Remy Mudingay's avatar Remy Mudingay :speech_balloon:
Browse files

cleaned up testinfra

parent a0299a4a
No related branches found
No related tags found
No related merge requests found
import os
import testinfra.utils.ansible_runner
import testinfra
import unittest
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
#def test_default(host):
# TODO: implement at least a test
#assert False
def test_tinyproxy_is_installed(Package):
tinyproxy = Package("tinyproxy")
assert tinyproxy.is_installed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment