text: import os
  import pytest
  
  import testinfra.utils.ansible_runner
  
  testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
      os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
  
  
  @pytest.mark.parametrize('pkg', [
    'kamailio'
  ])
  def test_pkg_app_is_installed(host, pkg):
      package = host.package(pkg)
  
      assert package.is_installed
  
  
  @pytest.mark.parametrize('svc', [
    'kamailio'
  ])
  def test_svc(host, svc):
      service = host.service(svc)
  
      assert service.is_enabled
      assert service.is_running
  