Schiphol flight data Kafka producer/consumer pipeline
Go to file
Peter 47b8fd29f8 test: add pytest infrastructure and poll() tests
- Add pytest and pytest-asyncio as optional dev dependencies
- Configure asyncio_mode=auto and pythonpath=[src] in pyproject.toml
- Write three tests at the poll() seam:
  * single-page response publishes all Flights and returns the count
  * paginated response follows link:rel=next and publishes all pages
  * HTTP error from raise_for_status() propagates out of poll()

Tests use injected stub HTTP session and mock Kafka engine;
no real network or broker required.

Closes #4

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-19 09:07:27 +02:00
.gitea/workflows OPT add linting workflow 2025-12-29 17:00:39 +01:00
src prefactor: extract poll() function from start() 2026-07-19 09:03:12 +02:00
tests test: add pytest infrastructure and poll() tests 2026-07-19 09:07:27 +02:00
tools OPT project structure 2025-12-29 17:15:29 +01:00
.envrc NEW: initial commit 2025-12-28 16:09:27 +01:00
.gitignore NEW: initial commit 2025-12-28 16:09:27 +01:00
.python-version NEW: initial commit 2025-12-28 16:09:27 +01:00
pyproject.toml test: add pytest infrastructure and poll() tests 2026-07-19 09:07:27 +02:00
README.md NEW: initial commit 2025-12-28 16:09:27 +01:00
sonar-project.properties Merge remote-tracking branch 'origin/main' into new/initial_commit 2025-12-28 18:36:07 +01:00
uv.lock NEW: initial commit 2025-12-28 16:09:27 +01:00

schiphol

Example event-based python application