Skip to content
Snippets Groups Projects
Commit 7efc6a50 authored by Jeff Geerling's avatar Jeff Geerling
Browse files

Remove unused tests.

parent 00dc2261
Branches
Tags
No related merge requests found
import os
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
def test_hosts_file(host):
f = host.file('/etc/hosts')
assert f.exists
assert f.user == 'root'
assert f.group == 'root'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment