Paul Harrison
618423c0e8
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. |
||
---|---|---|
.. | ||
__init__.py | ||
chat.py | ||
cli.py | ||
models.py | ||
settings.py |