Skip to content

Test/invalid event fixtures - #6

Open
RubenSanosh wants to merge 3 commits into
bsmensah-ctrl:mainfrom
RubenSanosh:test/invalid-event-fixtures
Open

Test/invalid event fixtures#6
RubenSanosh wants to merge 3 commits into
bsmensah-ctrl:mainfrom
RubenSanosh:test/invalid-event-fixtures

Conversation

@RubenSanosh

Copy link
Copy Markdown

Closes #4

Adds fixtures/invalid/ with 3 minimal JSONL fixtures covering:

  • malformed JSON
  • a missing/empty required string field
  • a negative PID field

Added a parametrized test asserting the specific InputError message for
each fixture, and documented the invalid fixture pack in docs/FIXTURES.md.

pytest and ruff check both pass locally.

…xtures covering: - malformed JSON - a missing/empty required string field - a negative PID field Added a parametrized test asserting the specific InputError message for each fixture, and documented the invalid fixture pack in docs/FIXTURES.md. pytest and ruff check both pass locally.

forgot to save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add malformed synthetic event-stream fixtures for parser regression

1 participant