fix: fix new pylint warnings (#28725)
This commit is contained in:
@@ -219,7 +219,7 @@ class TestRescoringTask(TestIntegrationTask):
|
||||
)
|
||||
|
||||
@ddt.data(
|
||||
RescoreTestData(edit=dict(), new_expected_scores=(2, 1, 1, 0), new_expected_max=2),
|
||||
RescoreTestData(edit={}, new_expected_scores=(2, 1, 1, 0), new_expected_max=2),
|
||||
RescoreTestData(edit=dict(correct_answer=OPTION_2), new_expected_scores=(2, 1, 1, 2), new_expected_max=2),
|
||||
)
|
||||
@ddt.unpack
|
||||
|
||||
@@ -1778,7 +1778,7 @@ class TestGradeReport(TestReportMixin, InstructorTaskModuleTestCase):
|
||||
metadata={'graded': True, 'format': 'Homework', 'start': in_the_future},
|
||||
display_name='Unreleased'
|
||||
)
|
||||
self.define_option_problem(u'Unreleased', parent=self.unreleased_section)
|
||||
self.define_option_problem('Unreleased', parent=self.unreleased_section)
|
||||
|
||||
@patch.dict(settings.FEATURES, {'DISABLE_START_DATES': False})
|
||||
@ddt.data(True, False)
|
||||
|
||||
Reference in New Issue
Block a user