N.I.L.O. Docs

Scenario Tests

This document describes offline scenario tests and the fake Notion client.

Fake Notion Client

The fake Notion client verifies CLI/MCP/Core call chains without accessing a real Notion workspace.

Main uses:

Scenario Coverage

Common Commands

Scenario tests can run with the full local suite:

env PYTHONDONTWRITEBYTECODE=1 UV_CACHE_DIR=/private/tmp/nilo_uv_scenarios uv run pytest -q -p no:cacheprovider

Notes

env \
  PYTHONDONTWRITEBYTECODE=1 \
  UV_CACHE_DIR=/private/tmp/nilo_uv_live_e2e \
  NOTION_MCP_LIVE_E2E=1 \
  NOTION_MCP_LIVE_PARENT_PAGE_ID=<test_page_id> \
  NOTION_MCP_LIVE_DATA_SOURCE_ID=<test_data_source_id> \
  uv run pytest -q -p no:cacheprovider tests/live/test_live_content_consistency_e2e.py