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.
We invoke pytest against our test directory in tox.ini, however, it isn't actually linting the test source files because we do not have __init__.py files in the unit or integration subdirectories (pylint accepts a list of python modules and packages, not directories). We need to add __init__.py to any subdirectories with sources files and fix the failures we are missing.
We invoke
pytest
against ourtest
directory intox.ini
, however, it isn't actually linting the test source files because we do not have__init__.py
files in theunit
orintegration
subdirectories (pylint accepts a list of python modules and packages, not directories). We need to add__init__.py
to any subdirectories with sources files and fix the failures we are missing.