Skip to content

Commit

Permalink
patch: Test tgpt-auto
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed Apr 23, 2024
1 parent cc512fc commit a7fadcf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
- name: Test with Unittest
run: |
python -m unittest discover -s tests -p 'test_utils.py' -f -v
# python -m unittest discover -s tests -p 'test_gpt4free.py' -f -v */
python -m unittest discover -s tests -p 'test_auto.py' -f -v
12 changes: 12 additions & 0 deletions tests/test_auto.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import unittest
import tests.base as base
from pytgpt.auto import AUTO


class TestAuto(base.llmBase):
def setUp(self):
self.bot = AUTO()
self.prompt = base.prompt

if __name__ == "__main__":
unittest.main()

0 comments on commit a7fadcf

Please sign in to comment.