'Test that the homework section has proper weight.'

def test_weighted_homework(self):

    self.weighted_setup()
    self.submit_question_answer('H1P1', {'2_1': 'Correct', '2_2': 'Correct'})
    self.check_grade_percent(0.25)
    self.assertEqual(self.earned_hw_scores(), [2.0])
    self.assertEqual(self.score_for_hw('homework'), [2.0])
