docstr: Tests if the bot returns the same response for the same
  question (which is similar to the one present in the training set)
  when asked repeatedly.
docstr_tok: ["Tests","if","the","bot","returns","the","same","response","for","the","same","question","(","which","is","similar","to","the","one","present","in","the","training","set",")","when","asked","repeatedly","."]
code: def test_similar_sentence_gets_same_response_multiple_times(self):
      """
      Tests if the bot returns the same response for the same
      question (which is similar to the one present in the training set)
      when asked repeatedly.
      """
      training_data = [
          "how do you login to gmail?",
          "Goto gmail.com, enter your login information and hit enter!",
      ]
  
      similar_question = "how do I login to gmail?"
  
      self.trainer.train(training_data)
  
      response_to_trained_set = self.chatbot.get_response(
          text="how do you login to gmail?", conversation="a"
      )
      response1 = self.chatbot.get_response(
          text=similar_question, conversation="b"
      )
      response2 = self.chatbot.get_response(
          text=similar_question, conversation="c"
      )
  
      self.assertEqual(response_to_trained_set.text, training_data[1])
      self.assertEqual(response1.text, training_data[1])
      self.assertEqual(response2.text, training_data[1])
  
imports: from tests.base_case import ChatBotTestCase
  from chatterbot.trainers import ListTrainer
  from chatterbot import preprocessors
label_desc: Use image node_id 11 for calling the ListTrainingTests obj's underlying member method code with example usage: obj.test_similar_sentence_gets_same_response_multiple_times() without return types