Skip to content

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

Merged
merged 3 commits into from
Nov 6, 2017

Conversation

njgingrich
Copy link
Contributor

@njgingrich njgingrich commented Oct 30, 2017

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.

Copy link
Contributor

@cmccandless cmccandless left a 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 .

@@ -2,118 +2,159 @@

from poker import poker

# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0
Copy link
Contributor

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?

@njgingrich
Copy link
Contributor Author

Sure thing! Sorry about the delay.

@cmccandless cmccandless merged commit 760aac2 into exercism:master Nov 6, 2017
@cmccandless
Copy link
Contributor

@njgingrich Merged. Congrats! Thanks for working on this!

@njgingrich
Copy link
Contributor Author

Thanks!

@njgingrich njgingrich deleted the poker-tests branch November 6, 2017 19:58
smalley pushed a commit to smalley/python that referenced this pull request Nov 12, 2017
)

* conform to canonical-data.json

* fix flake8 violations
smalley pushed a commit to smalley/python that referenced this pull request Nov 12, 2017
)

* conform to canonical-data.json

* fix flake8 violations
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