refactor: renamed (almost) all Chat/ChatDB functions

This commit is contained in:
2023-09-15 08:41:32 +02:00
parent 6ad404899e
commit bbcff17558
5 changed files with 186 additions and 186 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class TestMessageCreate(unittest.TestCase):
Answer("It is pure text"))
self.message_code = Message(Question("What is this?"),
Answer("Text\n```\nIt is embedded code\n```\ntext"))
self.chat.add_to_db([self.message_text, self.message_code])
self.chat.db_add([self.message_text, self.message_code])
# create arguments mock
self.args = MagicMock(spec=argparse.Namespace)
self.args.source_text = None