def _each_part_replica(self):
        for replica, part2dev in enumerate(self._replica2part2dev):
            for part in range(len(part2dev)):
                yield (part, replica)
Test that a repository's deployments may be retrieved.
dataset/ETHPy150Open openstack/swift/swift/common/ring/builder.py/RingBuilder._each_part_replica--crossover with--dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_deployments