Resolved pep8 issues

This commit is contained in:
Jawayria
2021-02-04 14:07:47 +05:00
parent e9b167e1fd
commit 959aed9841
2 changed files with 1 additions and 2 deletions

View File

@@ -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()

View File

@@ -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))