(**overrides)
| 39 | |
| 40 | |
| 41 | def make_user(**overrides): |
| 42 | values = { |
| 43 | "id": uuid.uuid4(), |
| 44 | "username": "alice", |
| 45 | "email": "alice@example.com", |
| 46 | "password_hash": "old-hash", |
| 47 | "display_name": "Alice", |
| 48 | "role": "member", |
| 49 | "tenant_id": uuid.uuid4(), |
| 50 | "is_active": True, |
| 51 | } |
| 52 | values.update(overrides) |
| 53 | return User(**values) |
| 54 | |
| 55 | |
| 56 | def make_channel(agent_id: uuid.UUID, *, connection_mode: str = "websocket") -> ChannelConfig: |
no test coverage detected