- harness/es.py: append-only event store + проекции (образец — кооп-портал) - harness/levels.py: уровни 1с/1м/1ч/1д, контекст ∝ масштабу - harness/scheduler.py: уровневые потоки, идемпотентные тики, absorbed-стабы - harness/isolated_runner.py + _llm_worker.py: LLM-тик в сабпроцессе (глобальный asyncio-рантайм Strands не переживает 2+ create_harness) - cli.py: init/task/tasks/status/events + requeue (написан самим минутным агентом) - 9router: отдельный ключ sk-simbiot, модель auto (glm-5.3 первым)
18 lines
467 B
Python
Executable file
18 lines
467 B
Python
Executable file
import os
|
|
import unittest
|
|
|
|
import certifi
|
|
|
|
|
|
class TestCertifi(unittest.TestCase):
|
|
def test_cabundle_exists(self) -> None:
|
|
assert os.path.exists(certifi.where())
|
|
|
|
def test_read_contents(self) -> None:
|
|
content = certifi.contents()
|
|
assert "-----BEGIN CERTIFICATE-----" in content
|
|
|
|
def test_py_typed_exists(self) -> None:
|
|
assert os.path.exists(
|
|
os.path.join(os.path.dirname(certifi.__file__), 'py.typed')
|
|
)
|