Planner-AI is a study mentoring project that implements ChatGPT integration in Telegram via Bots. It includes several new functions that were not available on ChatGPT, such as messages classification and accepting audio messages from users.
[x] Check every .py script in the helpers directory and find scripts that are testable. If there are too little of them, in addition you can test code from the folder open_ai.
[x] To the defined testable methods write tests inside /tests/test_helpers.py or /tests/test_open_ai.py if applicable.
I've created a branch for you with 2 tests:
They can be launched with
python manage.py test
andpython manage.py test tests/
correspondingly.What you'll need to do:
.py
script in thehelpers
directory and find scripts that are testable. If there are too little of them, in addition you can test code from the folderopen_ai
./tests/test_helpers.py
or/tests/test_open_ai.py
if applicable.