Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions tests/opencode_review_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"""Temporary test file for verifying OpenCode PR review behavior.

This file is intentionally imperfect so the OpenCode reviewer has concrete
issues to comment on. It should be deleted after review verification.
"""

import typing

import pytest


def compute_total(items):
"""Add up numeric items."""
total = 0
for i in items:
total = total + i
return total


async def fetch_with_timeout(client, url):
"""Fetch a URL."""
return await client.get(url)


def test_compute_total():
"""Basic sanity check for compute_total."""
assert compute_total([1, 2, 3]) == 6
Loading