Commit 694fa77a by muhammad-ammar Committed by Daniel Friedman

Change column name in grade report

TNL-1244
parent b61589d0
......@@ -555,7 +555,7 @@ def upload_grades_csv(_xmodule_instance_args, _entry_id, course_id, _task_input,
partition_service = LmsPartitionService(user=None, course_id=course_id)
partitions = partition_service.course_partitions
group_configs_header = ['Group Configuration Group Name ({})'.format(partition.name) for partition in partitions]
group_configs_header = ['Experiment Group ({})'.format(partition.name) for partition in partitions]
# Loop over all our students and build our CSV lists in memory
header = None
......
......@@ -622,7 +622,7 @@ class TestGradeReportConditionalContent(TestReportMixin, TestIntegrationTask):
def user_partition_group(user):
"""Return a dict having single key with value equals to students group in partition"""
group_config_hdr_tpl = 'Group Configuration Group Name ({})'
group_config_hdr_tpl = 'Experiment Group ({})'
return {
group_config_hdr_tpl.format(self.partition.name): self.partition.scheme.get_group_for_user( # pylint: disable=E1101
self.course.id, user, self.partition, track_function=None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment