Skip to content

Commit 1e1bdbc

Browse files
committed
CR fixes
1 parent 728da7e commit 1e1bdbc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/shared/test_clients.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_topics(self):
4040
])),
4141
]
4242
)
43-
def test_get_teams_from_github_topics(mock_repos, expected_result, mocker):
43+
def test_get_teams_from_github_topics__happy_flow(mock_repos, expected_result, mocker):
4444
# Mocking Github instance methods
4545
github_mock = mocker.Mock()
4646
organization_mock = mocker.Mock()
@@ -57,7 +57,7 @@ def test_get_teams_from_github_topics(mock_repos, expected_result, mocker):
5757
assert repositories == expected_result
5858

5959

60-
def test_get_teams_from_github_topics_exception(mocker):
60+
def test_get_teams_from_github_topics__exception_from_github(mocker):
6161
# Mocking Github to raise an exception
6262
mocker.patch("src.shared.clients.github.Github",
6363
side_effect=Exception("Sample exception")) # Adjust the import path.

0 commit comments

Comments
 (0)