-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
poker - Update tests to match canonical-data.json @v1.0.0 #1083
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
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.
Travis-CI failed due to flake8 violations:
$ flake8
./exercises/poker/poker_test.py:7:1: E302 expected 2 blank lines, found 1
./exercises/poker/poker_test.py:16:80: E501 line too long (80 > 79 characters)
./exercises/poker/poker_test.py:160:1: E303 too many blank lines (3)
The command "flake8" failed and exited with 1 during .
exercises/poker/poker_test.py
Outdated
@@ -2,118 +2,159 @@ | |||
|
|||
from poker import poker | |||
|
|||
# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0 |
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.
Can you please add an additional line above this (2 above, 1 below) for consistency with the track?
Sure thing! Sorry about the delay. |
@njgingrich Merged. Congrats! Thanks for working on this! |
Thanks! |
Resolves #1002.
Updated tests to match canonical data.
I renamed some tests to better match up with the json file, and some of the implementations had slightly different cards so those were matched.