Fix deprecated construct method, fix unittests

This commit is contained in:
Heiner Lohaus 2024-12-07 20:07:11 +01:00
parent 6a624acf55
commit 20ad08021a
3 changed files with 39 additions and 32 deletions

View file

@ -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):