Skip to content

Test: Nominee endpoint#127

Open
jbriones1 wants to merge 63 commits intomainfrom
feat_nominee-tests
Open

Test: Nominee endpoint#127
jbriones1 wants to merge 63 commits intomainfrom
feat_nominee-tests

Conversation

@jbriones1
Copy link
Contributor

depends on #126

  • Added basic integration tests for the Nominees endpoints
  • TODO: Once the checks for election officers is completed, create the rest of the tests for election officers

* refactored how the election officers are looked up
* changed the Nominee put back to a patch
* made election tests work with the new testing setup
@jbriones1 jbriones1 requested a review from p-north January 2, 2026 07:01
@jbriones1 jbriones1 changed the title Feature: Nominee tests Test: Nominee endpoint Jan 2, 2026
@jbriones1 jbriones1 marked this pull request as ready for review January 3, 2026 21:25
@jbriones1 jbriones1 requested a review from p-north January 25, 2026 01:03
Copy link
Contributor

@p-north p-north left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, just been trying to balance work and other things! Hopefully its better now.

Everything looks good. Just some minor nitpicks here and there.

Comment on lines +71 to +72
start_date: date | None = None
end_date: date | None = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-might want to validate the start_date and end_date but its not a big deal.

Copy link
Contributor Author

@jbriones1 jbriones1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed some comments

Copy link
Contributor

@p-north p-north left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-lgtm

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.

3 participants