'Call :func:``update_repo``, interacting with a fake AWS and yum
utilities.
:param FakeAWS aws: Fake AWS to interact with.
:param FakeYum yum: Fake yum utilities to interact with.
See :py:func:`update_repo` for other parameter documentation.'

def update_repo(self, aws, yum, package_directory, target_bucket, target_key, source_repo, packages, flocker_version, distribution):

    dispatchers = [aws.get_dispatcher(), yum.get_dispatcher(), base_dispatcher]
    sync_perform(ComposedDispatcher(dispatchers), update_repo(package_directory=package_directory, target_bucket=target_bucket, target_key=target_key, source_repo=source_repo, packages=packages, flocker_version=flocker_version, distribution=distribution))
