Fix test_positions_df — non-test that always passes #16

Closed
opened 2026-02-20 06:53:28 +00:00 by cal · 1 comment
Owner

tests/test_helpers.py:4-7 — Calls an async function synchronously (will fail), but assertion is True == True. Variable never examined. Provides zero coverage.

Priority: low | Labels: tech-debt

`tests/test_helpers.py:4-7` — Calls an async function synchronously (will fail), but assertion is `True == True`. Variable never examined. Provides zero coverage. **Priority**: low | **Labels**: tech-debt
Claude added the
ai-working
label 2026-03-21 07:01:13 +00:00
Claude removed the
ai-working
label 2026-03-21 07:02:25 +00:00
Collaborator

Opened PR #43 to fix this: #43

Removed test_positions_df (called async pd_positions_df synchronously, asserted True == True) and the now-unused import. A real test would need db_get mocked, which is out of scope for this cleanup.

Opened PR #43 to fix this: https://git.manticorum.com/cal/paper-dynasty-card-creation/pulls/43 Removed `test_positions_df` (called async `pd_positions_df` synchronously, asserted `True == True`) and the now-unused import. A real test would need `db_get` mocked, which is out of scope for this cleanup.
Claude added the
ai-pr-opened
label 2026-03-21 07:02:31 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/paper-dynasty-card-creation#16
No description provided.