Skip to content

Commit

Permalink
fix: import mocks from correct path after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Apr 5, 2024
1 parent 2d64f58 commit d4bff90
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,7 @@ def setUpTestData(cls):
]
)

@patch("openedx.core.djangoapps.course_groups.team_partition_scheme.TeamsConfigurationService")
@patch("lms.djangoapps.teams.team_partition_scheme.TeamsConfigurationService")
@patch("openedx.core.lib.teams_config._get_team_sets")
def test_load_data_in_partition_processor(self, team_sets_mock, team_configuration_service_mock):
"""
Expand Down Expand Up @@ -2121,7 +2121,7 @@ def test_load_data_in_partition_processor(self, team_sets_mock, team_configurati
self.team_sets[0].dynamic_user_partition_id
).name == self.team_1.name

@patch("openedx.core.djangoapps.course_groups.team_partition_scheme.TeamsConfigurationService")
@patch("lms.djangoapps.teams.team_partition_scheme.TeamsConfigurationService")
@patch("openedx.core.lib.teams_config._get_team_sets")
def test_user_not_excluded_by_partition_group(self, team_sets_mock, team_configuration_service_mock):
"""
Expand Down Expand Up @@ -2149,7 +2149,7 @@ def test_user_not_excluded_by_partition_group(self, team_sets_mock, team_configu
)
assert not team_partition_groups_processor._is_user_excluded_by_partition_group([])

@patch("openedx.core.djangoapps.course_groups.team_partition_scheme.TeamsConfigurationService")
@patch("lms.djangoapps.teams.team_partition_scheme.TeamsConfigurationService")
@patch("openedx.core.lib.teams_config._get_team_sets")
def test_user_excluded_by_partition_group(self, team_sets_mock, team_configuration_service_mock):
"""
Expand All @@ -2173,7 +2173,7 @@ def test_user_excluded_by_partition_group(self, team_sets_mock, team_configurati
# pylint: disable=protected-access
assert team_partition_groups_processor._is_user_excluded_by_partition_group(sequence_partition_groups)

@patch("openedx.core.djangoapps.course_groups.team_partition_scheme.TeamsConfigurationService")
@patch("lms.djangoapps.teams.team_partition_scheme.TeamsConfigurationService")
@patch("openedx.core.lib.teams_config._get_team_sets")
def test_usage_keys_removed(self, team_sets_mock, team_configuration_service_mock):
"""Test that the team partition groups processor correctly determines the usage keys to remove from the outline.
Expand Down

0 comments on commit d4bff90

Please sign in to comment.