Fix: ChromeDriver only supports characters in the BMP

Add set_cookies helper, Show last used model
This commit is contained in:
Heiner Lohaus
2024-01-26 12:49:52 +01:00
parent feb83c168b
commit 1eb7dc05e5
18 changed files with 75 additions and 63 deletions

View File

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