A tool and python library that helps when interfacing with Ansible directly or as part of another system whether that be through a container image interface, as a standalone tool, or as a Python module that can be imported. The goal is to provide a stable and consistent interface abstraction to Ansible.
Corrects many of the refactor suggestions from pylint. Some others are ignored (too-many-* and too-few-*, for example) because of the work required to rewrite the code.
Tests for check_isolation_executable_installed() were required to be modified (due to adding use of context manager for Popen()) to be much simpler and not require Mock-ing the world.
Corrects many of the refactor suggestions from pylint. Some others are ignored (
too-many-*
andtoo-few-*
, for example) because of the work required to rewrite the code.Tests for
check_isolation_executable_installed()
were required to be modified (due to adding use of context manager forPopen()
) to be much simpler and not requireMock
-ing the world.