def test_get_response_does_not_add_new_statement(self):
    '\n        Test that a new statement is not learned if `read_only` is set to True.\n        '
    self.chatbot.read_only = True
    self.chatbot.get_response('Hi!')
    results = list(self.chatbot.storage.filter(text='Hi!'))
    self.assertIsLength(results, 0)
Test that a new statement is not learned if `read_only` is set to True.
def test_get_response_does_not_add_new_statement(self):
    '\n        \n        '
    self.chatbot.read_only = True
    self.chatbot.get_response('Hi!')
    results = list(self.chatbot.storage.filter(text='Hi!'))
    self.assertIsLength(results, 0)