Skip to content

test: assert RansomLook uses q parameter#783

Closed
adulau wants to merge 1 commit into
mainfrom
codex/fix-ransomlook-test-query-parameter
Closed

test: assert RansomLook uses q parameter#783
adulau wants to merge 1 commit into
mainfrom
codex/fix-ransomlook-test-query-parameter

Conversation

@adulau

@adulau adulau commented Jun 3, 2026

Copy link
Copy Markdown
Member

Motivation

  • The RansomLook API expects the search parameter to be q not query, so the unit test was updated to reflect the correct parameter and prevent regressions.

Description

  • Update tests/test_ransomlook.py to use an explicit expected_search_params = {"q": <value>} and add an assertion that the legacy query parameter is not sent when calling the RansomLook endpoint.

Testing

  • Ran pytest -q tests/test_ransomlook.py and the suite passed with 2 passed.

Codex Task

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant