DCD-484: Rename use_system_jdk to match the other vars.

This commit is contained in:
Steve Smith
2019-07-11 13:57:38 +10:00
parent 94a16a6731
commit 4dff688b3d
7 changed files with 71 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
import os
import pytest
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
def test_user_created(host):
user = host.user('testuser')
assert user.exists
@pytest.mark.parametrize('exe', [
'/usr/bin/git',
'/usr/bin/javac'
])
def test_package_exes(host, exe):
assert host.file(exe).exists