code: def test_trend_analysis(filter_data_path, graph_data_path):
      target_corpus_path = path.join(ta_path, "target_corpus.csv")
      reference_corpus_path = path.join(ta_path, "reference_corpus.csv")
      trend_analyze(
          target_corpus_path,
          reference_corpus_path,
          target_corpus_path,
          reference_corpus_path,
      )
      assert os.path.isfile(filter_data_path)
      assert os.path.isfile(graph_data_path)
  
file_path: nlp-architect/solutions/trend_analysis/test_trend_analysis.py
imports: import os
  from os import path
  import pytest
  from nlp_architect import LIBRARY_OUT
  from nlp_architect.utils.text import try_to_load_spacy
  from .topic_extraction import main
  from .trend_analysis import analyze
label_desc: Use image node_id 8 for calling a global function with example usage: test_trend_analysis(filter_data_path, graph_data_path) without return types