diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d08d68..0e6bfae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ Historic and pre-release versions aren't necessarily included. ### Fixed - Tests: warnings because Beautiful Soup parser wasn't specified +- Tests didn't use public API for imports ## [0.9.0] - 2023-12-20 diff --git a/tests/test_manager.py b/tests/test_manager.py index 564ceeb..54f4c26 100644 --- a/tests/test_manager.py +++ b/tests/test_manager.py @@ -2,10 +2,8 @@ import pytest -from britishcycling_clubs.manager import ( - _process_manager_member_counts, - club_manager_url_via_login, -) +from britishcycling_clubs import club_manager_url_via_login +from britishcycling_clubs.manager import _process_manager_member_counts def test_club_manager_url_via_login__happy_path() -> None: diff --git a/tests/test_profile.py b/tests/test_profile.py index a16ea72..cce2efd 100644 --- a/tests/test_profile.py +++ b/tests/test_profile.py @@ -2,10 +2,10 @@ from bs4 import BeautifulSoup +from britishcycling_clubs import club_profile_url from britishcycling_clubs.profile import ( _club_name_from_profile, _total_members_from_profile, - club_profile_url, )