Skip to content

Commit

Permalink
tests: use public API import path
Browse files Browse the repository at this point in the history
  • Loading branch information
elliot-100 committed Jul 13, 2024
1 parent 174cec4 commit f38c84c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions tests/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)


Expand Down

0 comments on commit f38c84c

Please sign in to comment.