def test_two_statements_one_response_known(self):
    '\n        Test the case that one response is known and there is a response\n        entry for it in the database.\n        '
    self.chatbot.storage.create(text='Hi', in_response_to=None)
    self.chatbot.storage.create(text='Hello', in_response_to='Hi')
    response = self.chatbot.get_response('Hi')
    self.assertEqual(response.confidence, 1)
    self.assertEqual(response.text, 'Hello')
Test the case that one response is known and there is a response
entry for it in the database.
def test_two_statements_one_response_known(self):
    '\n        Test the case that one response is known and there is a response\n        entry for it in the database.\n        '
    self.chatbot.storage.create(text='Hi', in_response_to=None)
    self.chatbot.storage.create(text='Hello', in_response_to='Hi')
    response = self.chatbot.get_response('Hi')
    self.assertEqual(response.confidence, 1)
    self.assertEqual(response.text, 'Hello')