def test_apply(): to = _TestOrchestrator('', 0, 0) completion = to.apply([ ServiceSpec(service_type='nfs'), ServiceSpec(service_type='nfs'), ServiceSpec(service_type='nfs'), ]) completion.finalize(42) assert completion.result == [None, None, None]
def test_apply(): to = _TestOrchestrator('', 0, 0) completion = to.apply([ ServiceSpec(service_type='nfs'), ServiceSpec(service_type='nfs'), ServiceSpec(service_type='nfs'), ]) res = '<NFSServiceSpec for service_name=nfs>' assert completion.result == [res, res, res]