def _get_test_methods(test_case_name, test_class_map):
    """Takes ``test_class_map`` or ``skip_class_map`` and returns the list of
    methods for the test case or ``None`` if no methods were specified for it

    :param test_case_name: Name of the test case to check
    :param test_class_map: Dictionary mapping test names to a list of methods

    :return: List of methods or ``None`` if not specified for this test case
    """
    if test_class_map is None or test_case_name not in test_class_map:
        return None
    return test_class_map[test_case_name]