Skip to content

Added validation tests for user data endpoints.#949

Open
AndrewWHans wants to merge 1 commit into
imDarshanGK:mainfrom
AndrewWHans:fix-user-data-validation-tests
Open

Added validation tests for user data endpoints.#949
AndrewWHans wants to merge 1 commit into
imDarshanGK:mainfrom
AndrewWHans:fix-user-data-validation-tests

Conversation

@AndrewWHans

@AndrewWHans AndrewWHans commented Jun 8, 2026

Copy link
Copy Markdown

Description

Related Issue

Fixes #565

Type of change

  • Bug fix
  • New feature / enhancement
  • Documentation update
  • Test addition
  • Refactor

Checklist

  • I have read CONTRIBUTING.md
  • My branch is up to date with main
  • I have run pytest -v and all tests pass
  • I have not introduced duplicate issues or features
  • My PR title follows the format: feat/fix/docs/test: short description
  • I have added tests for new features (Level 2 and 3 issues)
  • No hardcoded secrets or API keys in my code
  • This PR is linked to a GSSoC 2026 issue

Screenshots (if frontend change)

Test evidence

python -m pytest tests/test_user_data.py -v

5 passed

python -m pytest

404 passed

@AndrewWHans AndrewWHans requested a review from imDarshanGK as a code owner June 8, 2026 07:11
@AndrewWHans

Copy link
Copy Markdown
Author

Opened PR #949 adding regression tests for missing/null field validation in /user/history and /user/favorites. Verified new tests pass and full test suite passes (404 tests).

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.

Fix missing null checks in user_data routes

1 participant