'Bookmark first `num_units` units
Arguments:
num_units(int): Number of units to bookmarks'

def bookmark_units(self, num_units):

    xblocks = self.course_fixture.get_nested_xblocks(category='vertical')
    for index in range(num_units):
        self._bookmark_unit(xblocks[index].locator)
