def METHOD_NAME(self, file_path):
    """Gets a yml path and returns the matching integration's test."""
    test_path = Path(file_path)
    test_file_name = test_path.parts[-1].replace(".yml", "_test.py")
    return test_path.parent / test_file_name