diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-26 12:49:52 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-26 12:49:52 +0100 |
commit | 1eb7dc05e59433de149ec16d9b2fe19b3fa4b24b (patch) | |
tree | 845e5d27d9f94c16215da60aaee0ad36f5a35344 /etc | |
parent | New minimum requirements (#1515) (diff) | |
download | gpt4free-1eb7dc05e59433de149ec16d9b2fe19b3fa4b24b.tar gpt4free-1eb7dc05e59433de149ec16d9b2fe19b3fa4b24b.tar.gz gpt4free-1eb7dc05e59433de149ec16d9b2fe19b3fa4b24b.tar.bz2 gpt4free-1eb7dc05e59433de149ec16d9b2fe19b3fa4b24b.tar.lz gpt4free-1eb7dc05e59433de149ec16d9b2fe19b3fa4b24b.tar.xz gpt4free-1eb7dc05e59433de149ec16d9b2fe19b3fa4b24b.tar.zst gpt4free-1eb7dc05e59433de149ec16d9b2fe19b3fa4b24b.zip |
Diffstat (limited to 'etc')
-rw-r--r-- | etc/unittest/backend.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/unittest/backend.py b/etc/unittest/backend.py index 3be83f84..e4a7b3ab 100644 --- a/etc/unittest/backend.py +++ b/etc/unittest/backend.py @@ -1,4 +1,3 @@ -from . import include import unittest from unittest.mock import MagicMock from .mocks import ProviderMock @@ -13,7 +12,7 @@ class TestBackendApi(unittest.TestCase): def setUp(self): if not has_requirements: - self.skipTest('"flask" not installed') + self.skipTest("gui is not installed") self.app = MagicMock() self.api = Backend_Api(self.app) @@ -36,7 +35,7 @@ class TestUtilityFunctions(unittest.TestCase): def setUp(self): if not has_requirements: - self.skipTest('"flask" not installed') + self.skipTest("gui is not installed") def test_get_error_message(self): g4f.debug.last_provider = ProviderMock |