From 1eb7dc05e59433de149ec16d9b2fe19b3fa4b24b Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Fri, 26 Jan 2024 12:49:52 +0100 Subject: Fix: ChromeDriver only supports characters in the BMP Add set_cookies helper, Show last used model --- etc/unittest/backend.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'etc/unittest') 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 -- cgit v1.2.3