"""Pytest fixtures: three independent FablePool nodes per test. ``phone`` and ``laptop`` model two devices owned by the same person; ``delegate`` models a third party that should only ever receive a capability-scoped, claim-only slice. """ from __future__ import annotations import pytest from fablepool.node import Node @pytest.fixture def phone(tmp_path): return Node.create(tmp_path / "phone", name="phone") @pytest.fixture def laptop(tmp_path): return Node.create(tmp_path / "laptop", name="laptop") @pytest.fixture def delegate(tmp_path): return Node.create(tmp_path / "delegate", name="delegate")