-
Notifications
You must be signed in to change notification settings - Fork 706
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
Tests: Added more specific error messages to the duplicate id asserts #2428
Conversation
Every single case where you added the game name already says the relevant game in the test run. |
i had a hard time finding it |
seems like my test runner doesnt display those subtests like that |
get a better test runner? No idea which one that even is. |
I dont think adding those game names hurt, might help people who use subpar test runners |
255157a
to
2a86ba0
Compare
Updated to remove the GameName messages |
.symmetric_difference(set(world_type.item_name_to_id.keys())) or \ | ||
set(world_type.item_id_to_name.keys()) \ | ||
.symmetric_difference(set(world_type.item_name_to_id.values())) | ||
self.assertFalse(overlap) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a big fan of this style of creating boolean values and asserting them, when the real check is actually the if. What was wrong with the suggested code above?
Oke lets close this i guess |
What is this fixing or adding?
Added additional comparisations to the duplicate id's check to actually print out the duplicated ids
How was this tested?
ran them