Update Subsection Grade Report to differentiate Not Attempted and 0
TNL-5990
This commit is contained in:
@@ -288,7 +288,9 @@ class TestSubmittingProblems(ModuleStoreTestCase, LoginEnrollmentTestCase, Probl
|
||||
|
||||
Returns list of scores: [<points on hw_1>, <points on hw_2>, ..., <points on hw_n>]
|
||||
"""
|
||||
return [s.graded_total.earned for s in self.get_course_grade().graded_subsections_by_format['Homework']]
|
||||
return [
|
||||
s.graded_total.earned for s in self.get_course_grade().graded_subsections_by_format['Homework'].itervalues()
|
||||
]
|
||||
|
||||
def hw_grade(self, hw_url_name):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user