'Set up resources and enroll staff'

def set_up_resources(self):

    self.logout()
    self.enroll_staff(self.staff_user)
    for (resource, xblock_name) in itertools.product(self.test_recommendations.values(), self.XBLOCK_NAMES):
        self.call_event('add_resource', resource, xblock_name)
