code: def register_service(cls, service):
          
          logger.debug('Registering service {0}'.format(service.name))
          return local_store.instance.register(service)
docs: Add a service to the thread's StackInABox instance.
  
          :param service: StackInABoxService instance to add to the test
  
          For return value and errors see StackInABox.register()