import itertools


def test_permutation_combinator(container_, pairs_):
    """
    r-length tuples, all possible orderings, no repeated elements

    permutations('ABCD', 2)
    AB AC AD BA BC BD CA CB CD DA DB DC
    """

    return list(
        itertools.permutations(
            container_,
            pairs_
        )
    )