def get_overlapping_tests(tests, run_list_names):
    overlapping_tests = []
    for test in tests:
        if (test.name in run_list_names):
            overlapping_tests.append(test)
    return overlapping_tests
def get_overlapping_tests(tests, run_list_names):
    overlapping_tests = []
    for test in tests:
        if (test.name in run_list_names):
            overlapping_tests.append(test)
    return overlapping_tests