docs: apply fleet-template (16-artifact scaffold)

Adds missing standard artifacts:
- README.md (if missing)
- AGENTS.md (AI agent contract)
- PLAN.md (current sprint)
- STATUS.md (where we are)
- DEVELOPMENT.md (dev workflow)
- DEPLOYMENT.md (deploy procedure)
- TESTING.md (test strategy)
- DECISIONS.md (ADR index + templates)
- .github/CODEOWNERS
- .github/workflows/ci.yml

Preserves all existing artifacts.

Refs: RugMunchMedia/fleet-template
This commit is contained in:
Crypto Rug Munch 2026-07-02 02:07:13 +07:00
commit 47ba268131
310 changed files with 38429 additions and 0 deletions

36
tests/test_sdk.py Normal file
View file

@ -0,0 +1,36 @@
"""Tests for Pry SDK classes."""
from pry_sdk import PryCrawl, PryCrawlSync
def test_prycrawl_init() -> None:
mc = PryCrawl("http://localhost:8002")
assert mc.base_url == "http://localhost:8002"
assert mc.timeout == 60
def test_prycrawl_init_with_key() -> None:
mc = PryCrawl("http://localhost:8002", api_key="test-key")
assert mc._headers["Authorization"] == "Bearer test-key"
def test_prycrawl_init_strips_trailing_slash() -> None:
mc = PryCrawl("http://localhost:8002/")
assert mc.base_url == "http://localhost:8002"
def test_prycrawlsync_init() -> None:
mc = PryCrawlSync("http://localhost:8002")
assert mc._client.base_url == "http://localhost:8002"
def test_prycrawlsync_init_with_key() -> None:
mc = PryCrawlSync("http://localhost:8002", api_key="test-key")
assert mc._client._headers["Authorization"] == "Bearer test-key"
def test_prycrawl_health_returns_dict() -> None:
mc = PryCrawl("http://localhost:8002")
# Just verify the method exists and returns a coroutine
coro = mc.health()
assert hasattr(coro, "__await__")