Files
profitable-expert-advisor/self-coding-agent/tests/__pycache__/test_smoke.cpython-312.pyc
T

19 lines
3.4 KiB
Plaintext
Raw Normal View History

2026-05-27 14:59:00 +02:00
Ë
óÖj¿ãó„dZddlmZddlZddlZddlmZee«j«jdZ
e e
«ejvr"ejjde e
««ddlmZmZddlmZmZGdd ej(«ZGd
d ej(«Zed k(rej0«yy)
z]Smoke tests (no Ollama required). Run: python -m unittest discover -s tests -p 'test_*.py' -vé)Ú annotationsN)ÚPathé)Ú load_configÚworkspace_path)Ú ToolExecutorÚparse_model_jsoncóeZdZdZdZy)ÚTestParseModelJsoncórd}t|«}|j|dd«|j|dg«y)Nz<Here you go:
```json
{"reflection": "x", "actions": []}
```
Ú
reflectionÚactions)r Ú assertEqual©ÚselfÚrawÚds úBD:\profitable-expert-advisor\self-coding-agent\tests\test_smoke.pyÚ
test_fencezTestParseModelJson.test_fences=ðˆô
˜SÓ Ø ×ј˜<™¨#Ô ×ј˜9™ rÕcó„d}t|«}|j|dd«|jt|d«d«y)NzfThought: ok
{"reflection": "r", "actions": [{"type": "list_dir", "path": "frontline/units"}]} trailingr
Úrrr)r rÚlenrs rÚtest_prose_then_bracesz)TestParseModelJson.test_prose_then_bracess>ØwˆÜ ˜SÓ Ø ×ј˜<™¨#Ô ×Ñœ˜Q˜y™\Ó*¨AÕ.rN)Ú__name__Ú
__module__Ú __qualname__rr©rrr r s ò/rr cóeZdZdZdZy)ÚTestToolExecutorcót«}t|«}t||«}|jdddœ«}|j |j d««|j
d|«|j|dt«y)list_dirzfrontline/units©ÚtypeÚpathÚokÚentries) rrrÚexecuteÚ