Resolved pep8 issues
This commit is contained in:
@@ -199,7 +199,7 @@ class MilestonesTransformerTestCase(CourseStructureTestCase, MilestonesTestCaseM
|
||||
self.setup_gated_section(self.blocks['H'], self.blocks['A'])
|
||||
expected_blocks = (
|
||||
'course', 'A', 'B', 'C', 'ProctoredExam', 'D', 'E', 'PracticeExam', 'F', 'G', 'TimedExam', 'J', 'K', 'H',
|
||||
'I') # lint-amnesty, pylint: disable=line-too-long
|
||||
'I') # lint-amnesty, pylint: disable=line-too-long
|
||||
self.get_blocks_and_check_against_expected(self.user, expected_blocks)
|
||||
# clear the request cache to simulate a new request
|
||||
self.clear_caches()
|
||||
|
||||
@@ -353,4 +353,3 @@ def recurse_mark_complete(block_id, blocks):
|
||||
completable_blocks = [blocks[child_block_id] for child_block_id in child_blocks
|
||||
if blocks[child_block_id].get('type') != 'discussion']
|
||||
block['completion'] = int(all(child.get('completion') == 1 for child in completable_blocks))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user