'Returns bookmark data for testing.'

def get_bookmark_data(self, block, user=None):

    return {'user': (user or self.user), 'usage_key': block.location, 'course_key': block.location.course_key, 'display_name': block.display_name}
