Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[uss_qualifier] Relax type requirements when performing test checks #395

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

BenjaminPelletier
Copy link
Member

A common problem in uss_qualifier is developers providing a single ParticipantID rather than a list of ParticipantIDs when initiating a check. Since a ParticipantID is a string and a string is actually a list (of characters), this problem often goes unnoticed and participants are attributed as "u", "s", "s", and "1". This is currently a problem both in an active PR and a PR that was merged (was not caught in review).

This PR fixes that problem by allowing either a single ParticipantID or a list of ParticipantIDs to be provided, and treats either correctly. It also does the same for requirements where the same problem sometimes occurs.

@BenjaminPelletier BenjaminPelletier marked this pull request as ready for review December 8, 2023 15:43
@BenjaminPelletier BenjaminPelletier merged commit 2b53922 into interuss:main Dec 11, 2023
9 checks passed
@BenjaminPelletier BenjaminPelletier deleted the fix-participants branch December 11, 2023 17:40
github-actions bot added a commit that referenced this pull request Dec 11, 2023
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.

2 participants