mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Fix deprecated construct method, fix unittests
This commit is contained in:
parent
6a624acf55
commit
20ad08021a
3 changed files with 39 additions and 32 deletions
|
|
@ -35,7 +35,7 @@ class TestBackendApi(unittest.TestCase):
|
|||
|
||||
def test_get_providers(self):
|
||||
response = self.api.get_providers()
|
||||
self.assertIsInstance(response, dict)
|
||||
self.assertIsInstance(response, list)
|
||||
self.assertTrue(len(response) > 0)
|
||||
|
||||
def test_search(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue