def METHOD_NAME(pki_dir):
    """
    Test the output of a fixture tfstate file which contains libvirt
    resources.
    """
    expected_result = {
        "db0": {
            "host": "192.168.122.174",
            "user": "root",
            "passwd": "dbpw",
            "tty": True,
            "priv": str(pki_dir / "ssh" / "salt-ssh.rsa"),
        },
        "db1": {
            "host": "192.168.122.190",
            "user": "root",
            "passwd": "dbpw",
            "tty": True,
            "priv": str(pki_dir / "ssh" / "salt-ssh.rsa"),
        },
        "web0": {
            "host": "192.168.122.106",
            "user": "root",
            "passwd": "linux",
            "timeout": 22,
            "priv": str(pki_dir / "ssh" / "salt-ssh.rsa"),
        },
        "web1": {
            "host": "192.168.122.235",
            "user": "root",
            "passwd": "linux",
            "timeout": 22,
            "priv": str(pki_dir / "ssh" / "salt-ssh.rsa"),
        },
    }
    ret = terraform.targets("*")
    assert expected_result == ret