def start_service(self, name, host=None, **kwargs):
        host = host and host or uuid.uuid4().hex
        kwargs.setdefault('host', host)
        kwargs.setdefault('binary', name % 'nova-%s')
        svc = service.Service.create(**kwargs)
        svc.start()
        self._services.append(svc)
        return svc

    # Useful assertions
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/test.py/TestCase.start_service/swapped operands of `%`