def METHOD_NAME(pki_dir, roster_file_new):
    """
    Test the output of a fixture tfstate file which contains libvirt
    resources using matching
    """
    expected_result = {
        "web1": {
            "host": "192.168.122.107",
            "user": "root",
            "passwd": "linux",
            "timeout": 22,
            "priv": str(pki_dir / "ssh" / "salt-ssh.rsa"),
        },
    }
    with patch.dict(terraform.__opts__, {"roster_file": str(roster_file_new)}):
        ret = terraform.targets("*1")
        assert expected_result == ret