def _filter_status(tests_df):
    """Filters out any tests with statuses that aren't equal to "Passed" or "Failed"

    Args:
        tests (pandas.DataFrame): the test data; note that there should be a column called "status"
        
    Returns:
        two list or pd.DataFrame: the valid and invalid automated rest_api tests
    """
    valid = tests_df[(tests_df['Test Status']=='Passed') | (tests_df['Test Status']=='Failed')]
    invalid = tests_df[(tests_df['Test Status']!='Passed') & (tests_df['Test Status']!='Failed')]
    return valid, invalid