llm-chat/tests
Paul Harrison 618423c0e8 Fix test bug introduced with conversation naming
The ChatFake object used in CLI tests never gets a `conversation`
attribute defined. This resulted in multiple tests failing since the
`save_conversation` function accessed the `name` attribute via
`current_chat.conversation.name`. This was resolved by adding a `name`
property to the `Chat` class, which can be easily faked in tests.

Additionally, formatting was fixed.
2023-09-14 21:37:57 +01:00
..
__init__.py Initial commit 2023-08-13 19:53:05 +01:00
conftest.py Add linting checks and code formatting 2023-08-16 10:10:06 +01:00
test_chat.py Fix test bug introduced with conversation naming 2023-09-14 21:37:57 +01:00
test_cli.py Fix test bug introduced with conversation naming 2023-09-14 21:37:57 +01:00