def list_of_dicts_strict_equal(lofd1, lofd2):
    """
    Ensure that two unordered lists contain the same dicts
    """
    t2 = list(lofd2)  # mutable copy
    if len(lofd1) != len(lofd2):
        return False
    for i1, el1 in enumerate(lofd1):
        for i2, el2 in enumerate(t2):
            if el1 == el2:
                del t2[i2]
                break
        else:
            return False
    return not t2

    Ensure that two unordered lists contain the same dicts
    
st2common/tests/unit/test_operators.py