tests: prevent compare_output_test running on import.

issue72
David Wilson 6 years ago
parent 4c81eba599
commit 130e42a932

@ -6,7 +6,6 @@ import re
import subprocess
import tempfile
LOG = logging.getLogger(__name__)
suffixes = [
@ -42,9 +41,10 @@ def run(s):
return fp.read()
logging.basicConfig(level=logging.DEBUG)
if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)
for suffix in suffixes:
for suffix in suffixes:
ansible = run('ansible localhost %s' % (suffix,))
mitogen = run('ANSIBLE_STRATEGY=mitogen ansible localhost %s' % (suffix,))

Loading…
Cancel
Save