Files
MyAiConfiguration/scripts/benchmarks/tasks/01-small-config-change/hidden/test_hidden.py
T
Julian lechnerandClaude Opus 5.5 3480072ed7 test(benchmarks): add A/B task fixtures with hidden checks
Ten small Python tasks, each failing on the fixture and passing with a
reference solution, including workflow expectations for a small change, a
bugfix, and a delegable change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 12:45:40 +02:00

17 lines
505 B
Python

import unittest
from pathlib import Path
from app import client, config
class Hidden(unittest.TestCase):
def test_default(self):
self.assertEqual(config.DEFAULT_TIMEOUT, 60)
self.assertEqual(client.request('x'), 60)
self.assertEqual(client.request('x', 5), 5)
def test_docs(self):
for path in ('README.md', 'app/client.py'):
text = Path(path).read_text()
self.assertIn('60 seconds', text)
self.assertNotIn('30 seconds', text)