You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I went ahead and ran the unit tests to verify that they were functioning properly and found that the file test_nhl_roster.py failed one of the tests it was supposed to pass due to improper error handling. The error seems to be that the test expects the method player._retrieve_html_page() to return None, but instead, it's returning a list containing an HTML paragraph element ([
]). This mismatch between expected and actual outputs leads to the assertion failure.
To Reproduce
run the test_nhl_roster.py file.
Expected behavior
I expected to see both tests pass.
Desktop (please complete the following information):
OS: Windows 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz
Sportsipy Version: 0.6.0
The text was updated successfully, but these errors were encountered:
Describe the bug
I went ahead and ran the unit tests to verify that they were functioning properly and found that the file test_nhl_roster.py failed one of the tests it was supposed to pass due to improper error handling. The error seems to be that the test expects the method player._retrieve_html_page() to return None, but instead, it's returning a list containing an HTML paragraph element ([
]). This mismatch between expected and actual outputs leads to the assertion failure.
To Reproduce
run the test_nhl_roster.py file.
Expected behavior
I expected to see both tests pass.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: