'``run_state_changes`` accepts the result of ``in_parallel`` and runs
each of its changes with the given deployer.'

def test_subchanges_get_deployer(self):

    subchanges = [ControllableAction(result=succeed(None)), ControllableAction(result=succeed(None))]
    change = in_parallel(changes=subchanges)
    run_state_change(change, DEPLOYER, InMemoryStatePersister())
    self.assertEqual([c.deployer for c in subchanges], [DEPLOYER, DEPLOYER])
