from pathlib import Path


def home_cwd(tmpdir):
    """ create two temporary directories simulated cwd and home.
    Return dict with contents. """
    cwd = Path(tmpdir)
    home = cwd / "home"
    home.mkdir()
    return dict(secondary_path=home, primary_path=cwd)