-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add support for waivers with faab #56
Conversation
@spilchen Can I get a review pls? Thanks! |
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.
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: |
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.
add_drop_with_faab.xml
file is missing from the PR. Can you commit it? Same with add_drop_no_faab.xml
below.
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.
Oops, just added them. Thanks!
@spilchen Changes addressed. Thanks for this project! |
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
andadd_and_drop_players
methods would encounter: