'Tests to ensure that course data is fully filled with just a single input.'

@patch('lms.djangoapps.grades.new.course_data.get_course_blocks')
def test_fill_course_data(self, mock_get_blocks):

    mock_get_blocks.return_value = self.one_true_structure
    for kwarg in self.expected_results:
        if (kwarg == 'location'):
            continue
        kwargs = {kwarg: self.expected_results[kwarg]}
        course_data = CourseData(self.user, **kwargs)
        for arg in self.expected_results:
            if ((arg != kwarg) and (arg != 'collected_block_structure')):
                expected = self.expected_results[arg]
                actual = getattr(course_data, arg)
                self.assertEqual(expected, actual)
