12 lines
238 B
Python
Raw Normal View History

2021-08-15 14:24:35 -05:00
"""Role testing files using testinfra."""
import pytest
@pytest.mark.parametrize("pkg", ["nrpe"])
def test_pkg_installed(host, pkg):
"""Test if package installed."""
package = host.package(pkg)
assert package.is_installed