'Returns `None` if no chapter found.'

def test_get_course_position_no_chapter(self):

    mock_course_module = MagicMock()
    mock_course_module.position = 3
    mock_course_module.get_display_items.return_value = []
    self.assertIsNone(helpers.get_course_position(mock_course_module))
