Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanRosenboim committed Apr 14, 2024
1 parent fa2cf33 commit c72a341
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/scripts/test_sync_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ def test_process_teams(label, existing_teams_indexes, asset_indexes, data, len_e
with patch("src.scripts.sync_teams.sync_teams.get_existing_teams") as mock_get_existing_teams:
with patch("src.scripts.sync_teams.sync_teams.create_teams") as mock_create_teams:
mock_get_existing_teams.return_value = existing_teams
teams_to_delete = process_teams("token", organization, assets)
teams_to_delete = process_teams(
"token", organization, assets, existing_teams)
assert len(teams_to_delete) == len_expected_teams_to_delete


Expand Down

0 comments on commit c72a341

Please sign in to comment.