<reponame>SinaMostafanejad/QCPortal<filename>qcportal/tests/test_helper.py<gh_stars>100-1000
"""
A file containing utility functions for testing portal
"""


def compare_lists(bench, val):
    """
    Checks to see if two list like objects are the same.
    """

    if not len(bench) == len(val):
        return False
    if not sorted(bench) == sorted(val):
        return False

    return True
