Skip to content

test_util: Parametrize get_random_game_name #538

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

Conversation

sonic2kk
Copy link
Contributor

Related: #528

Uses PyTest Parametrize for the get_random_game_name function. Also adds some more test scenarios for ensuring we always get a str back, and to ensure we properly handle unknown objects and empty lists :-)

Also adds some more test scenarios for ensuring we always
get a `str` back, and to ensure we properly handle
unknown objects and empty lists.
@sonic2kk
Copy link
Contributor Author

Failing because the environment doesn't have typing_extensions. No idea how or why I have it, I only used LiteralString because basedPyright didn't want me typing as list[str]. I'll fix it when I'm back at my PC. :-)

@DavidoTek DavidoTek merged commit 3beb3ba into DavidoTek:main May 22, 2025
2 checks passed
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