def test_get_initialization_functions_spacy_similarity(self):
    '\n        Test that the initialization functions are returned.\n        '
    from chatterbot.comparisons import spacy_similarity
    list(self.chatbot.search_algorithms.values())[0].compare_statements = spacy_similarity
    functions = self.chatbot.get_initialization_functions()
    self.assertIn('download_nltk_stopwords', str(functions))
    self.assertIn('download_nltk_wordnet', str(functions))
    self.assertIn('download_nltk_averaged_perceptron_tagger', str(functions))
    self.assertIsLength(functions, 3)
Test that the initialization functions are returned.
def test_get_initialization_functions_spacy_similarity(self):
    '\n        \n        '
    from chatterbot.comparisons import spacy_similarity
    list(self.chatbot.search_algorithms.values())[0].compare_statements = spacy_similarity
    functions = self.chatbot.get_initialization_functions()
    self.assertIn('download_nltk_stopwords', str(functions))
    self.assertIn('download_nltk_wordnet', str(functions))
    self.assertIn('download_nltk_averaged_perceptron_tagger', str(functions))
    self.assertIsLength(functions, 3)