import shutil
from pathlib import Path

import pytest


@pytest.fixture
def tmp_keys_dir(tmp_path) -> Path:
    d = tmp_path / "keys"
    d.mkdir()
    return d


@pytest.fixture
def identities(tmp_keys_dir):
    from poc.keys import load_identities
    return load_identities(tmp_keys_dir)
