@@ -1861,7 +1861,7 @@ def test_list_team_sources(client: GGClient, get_team: Callable[[], Team]):
1861
1861
THEN a paginated list of sources is returned
1862
1862
"""
1863
1863
1864
- result = client .list_teams_sources (get_team ().id )
1864
+ result = client .list_team_sources (get_team ().id )
1865
1865
assert isinstance (result , CursorPaginatedResponse ), result
1866
1866
1867
1867
# This assumes at least one source has been installed and is on the perimeter of a team
@@ -1877,7 +1877,7 @@ def test_search_team_sources(client: GGClient, get_team: Callable[[], Team]):
1877
1877
THEN a paginated list of sources is returned matching the parameters
1878
1878
"""
1879
1879
1880
- result = client .list_teams_sources (
1880
+ result = client .list_team_sources (
1881
1881
get_team ().id , TeamSourceParameters (type = "azure_devops" )
1882
1882
)
1883
1883
@@ -1894,7 +1894,7 @@ def test_delete_team_sources(client: GGClient, get_team: Callable[[], Team]):
1894
1894
"""
1895
1895
1896
1896
team = get_team ()
1897
- team_sources = client .list_teams_sources (team .id )
1897
+ team_sources = client .list_team_sources (team .id )
1898
1898
assert isinstance (
1899
1899
team_sources , CursorPaginatedResponse
1900
1900
), "Could not fetch team sources"
@@ -1905,7 +1905,7 @@ def test_delete_team_sources(client: GGClient, get_team: Callable[[], Team]):
1905
1905
1906
1906
assert result == 204
1907
1907
1908
- team_sources = client .list_teams_sources (team .id )
1908
+ team_sources = client .list_team_sources (team .id )
1909
1909
assert isinstance (team_sources , CursorPaginatedResponse ), team_sources
1910
1910
assert not any (source .id == source_to_delete .id for source in team_sources .data )
1911
1911
@@ -1929,7 +1929,7 @@ def test_add_team_sources(
1929
1929
1930
1930
assert result == 204
1931
1931
1932
- team_sources = client .list_teams_sources (
1932
+ team_sources = client .list_team_sources (
1933
1933
team .id , TeamSourceParameters (type = "azure_devops" )
1934
1934
)
1935
1935
assert isinstance (team_sources , CursorPaginatedResponse ), team_sources
0 commit comments