Initial commit: CI Agent competitive-intelligence monitoring app

FastAPI + Celery + Next.js + Postgres/Redis app with company monitoring,
source collection, LLM-based change analysis, enrichment, and account
security (Turnstile, escalating lockout, email verification).
This commit is contained in:
2026-08-05 10:48:20 -04:00
commit 1a4c80958f
365 changed files with 43541 additions and 0 deletions
@@ -0,0 +1,25 @@
from __future__ import annotations
import pytest
from app.enrichment.mock import MockEnrichmentProvider
@pytest.mark.asyncio
async def test_mock_provider_returns_honest_empties_for_everything():
provider = MockEnrichmentProvider()
details = await provider.get_company_details("Acme Corp", "https://acme.example.com")
assert details.description is None
assert details.leadership_team == []
funding = await provider.get_funding("Acme Corp", None)
assert funding.total_raised is None
assert funding.rounds == []
assert await provider.get_updates("Acme Corp", None) == []
assert await provider.get_competitors("Acme Corp", None) == []
assert await provider.get_products("Acme Corp", None) == []
assert await provider.get_customers("Acme Corp", None) == []
assert await provider.get_work_email("Jane Doe", "https://acme.example.com") is None
assert await provider.get_person_profile("Jane Doe", "https://acme.example.com") == (None, None)