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

Add support for waivers with faab #56

Merged

Conversation

indigobuffalo
Copy link
Contributor

Adds Team methods for bidding faab on waiver claims.

Testing

Confirmed in my home league that with these new methods I could successfully make waiver claims, whereas using the existing add_player and add_and_drop_players methods would encounter:

...FAB balance must be a whole number betweed $0 and $999999999.</description>\n <detail/>\n</error>'

@indigobuffalo
Copy link
Contributor Author

@spilchen Can I get a review pls? Thanks!

Copy link
Owner

@spilchen spilchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing! Can you bump the version in setup.py to 2.10.0?

@@ -84,6 +84,37 @@ def test__construct_trade_proposal_xml(mock_team):
assert actual_xml == expected_xml


def test__construct_transaction_xml(mock_team):
with open(f'{DIR_PATH}/add_drop_with_faab.xml', 'r') as file:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add_drop_with_faab.xml file is missing from the PR. Can you commit it? Same with add_drop_no_faab.xml below.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, just added them. Thanks!

@indigobuffalo
Copy link
Contributor Author

Thanks for contributing! Can you bump the version in setup.py to 2.10.0?

@spilchen Changes addressed. Thanks for this project!

@spilchen spilchen merged commit 4060127 into spilchen:master Jan 20, 2025
1 check 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