From 7abdd9a99e57b70c7279126daf064b2525eee196 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Tue, 22 Nov 2016 21:43:56 +0200 Subject: [PATCH] - Adjust tests to run in Docker. --- tests/test_sni.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_sni.py b/tests/test_sni.py index 3f90cb2..b5daefd 100644 --- a/tests/test_sni.py +++ b/tests/test_sni.py @@ -1,4 +1,7 @@ import pytest +from testinfra.utils.ansible_runner import AnsibleRunner + +testinfra_hosts = AnsibleRunner('.molecule/ansible_inventory').get_hosts('all') @pytest.mark.parametrize('error', ['InsecureRequestWarning', -- GitLab