TypeError: DraftPick.__init__() got an unexpected keyword argument 'displaypicknumber'
KCNilssen opened this issue · 0 comments
KCNilssen commented
Bi-Daily morning test failed.
Mlb Api updated to include extra parameter in draftpick data class 'displaypicknumber'.
with output:
============================ test session starts =============================
platform linux -- Python 3.10.12, pytest-7.4.0, pluggy-1.2.0
rootdir: /home/runner/work/python-mlb-statsapi/python-mlb-statsapi
plugins: requests-mock-1.11.0
collected 189 items
tests/external_tests/attendance/test_attendance.py ... [ 1%]
tests/external_tests/awards/test_awards.py ... [ 3%]
tests/external_tests/division/test_division.py ... [ 4%]
tests/external_tests/drafts/test_draft.py F.F [ 6%]
tests/external_tests/game/test_game.py .. [ 7%]
tests/external_tests/homerunderby/test_homerunderby.py .. [ 8%]
tests/external_tests/league/test_league.py ... [ 10%]
tests/external_tests/mlb/test_mlb.py ................................ [ 28%]
tests/external_tests/mlbdataadapter/test_mlbadapter.py ........ [ 34%]
tests/external_tests/person/test_person.py .... [ 36%]
tests/external_tests/schedule/test_schedule.py ... [ 38%]
tests/external_tests/seasons/test_seasons.py ...... [ 41%]
tests/external_tests/sport/test_sport.py ... [ 42%]
tests/external_tests/standings/test_standings.py ... [ 44%]
tests/external_tests/stats/test_catching.py .. [ 45%]
tests/external_tests/stats/test_fielding.py .. [ 46%]
tests/external_tests/stats/test_hitting.py ............. [ 53%]
tests/external_tests/stats/test_pitching.py ........... [ 59%]
tests/external_tests/stats/test_player_game_stats.py .... [ 61%]
tests/external_tests/team/test_roster.py .... [ 63%]
tests/external_tests/team/test_team.py ... [ 65%]
tests/external_tests/venue/test_venue.py ... [ 66%]
tests/mock_tests/awards/test_awards_mock.py . [ 67%]
tests/mock_tests/drafts/test_draft_mock.py . [ 67%]
tests/mock_tests/gamepace/test_gamepace_mock.py . [ 68%]
tests/mock_tests/homerunderby/test_homerunderby_mock.py . [ 68%]
tests/mock_tests/mlb/test_mlb_mock.py ............................... [ 86%]
[ 86%]
tests/mock_tests/schedules/test_schedule_mock.py ... [ 88%]
tests/mock_tests/standings/test_standings_mock.py . [ 88%]
tests/mock_tests/stats/test_game_player_stats_for_game.py .... [ 91%]
tests/mock_tests/stats/test_hitting_stats_mock.py ...... [ 94%]
tests/mock_tests/stats/test_pitching_stats_mock.py ..... [ 96%]
tests/mock_tests/teams/test_roster_mock.py .. [ 97%]
tests/mock_tests/teams/test_team_mock.py .. [ 98%]
tests/mock_tests/teams/test_team_roster_mock.py .. [100%]
========================== short test summary info ===========================
FAILED tests/external_tests/drafts/test_draft.py::TestRound::test_get_draft_by_year_id
- TypeError: DraftPick.__init__() got an unexpected keyword argument
'displaypicknumber'
FAILED tests/external_tests/drafts/test_draft.py::TestRound::test_get_draft_with_params
- TypeError: DraftPick.__init__() got an unexpected keyword argument
'displaypicknumber'
======================= 2 failed, 187 passed in 42.62s =======================