AA-173: Assignment Type on Dates Page
Appending the assignment type to each graded assignment on the Dates Tab. Exposed the 'format' field, which corresponds to the graded assignment type.
This commit is contained in:
@@ -33,10 +33,10 @@ class TestIcsGeneration(TestCase):
|
||||
|
||||
def make_assigment(
|
||||
self, block_key=None, title=None, url=None, date=None, contains_gated_content=False, complete=False,
|
||||
past_due=False
|
||||
past_due=False, assignment_type=None
|
||||
):
|
||||
""" Bundles given info into a namedtupled like get_course_assignments returns """
|
||||
return _Assignment(block_key, title, url, date, contains_gated_content, complete, past_due)
|
||||
return _Assignment(block_key, title, url, date, contains_gated_content, complete, past_due, assignment_type)
|
||||
|
||||
def expected_ics(self, *assignments):
|
||||
""" Returns hardcoded expected ics strings for given assignments """
|
||||
|
||||
Reference in New Issue
Block a user