dinhlongviolin1 1 місяць тому
батько
коміт
717c9f8433

+ 1 - 0
Pipfile

@@ -74,6 +74,7 @@ types-python-dateutil = "*"
 types-pytz = "*"
 types-toml = ">=0.10.0"
 types-tzlocal = "*"
+websocket-client = "*"
 
 [requires]
 python_version = "3"

+ 2 - 2
tests/gui/notebook/test_notebook_simple_gui.py

@@ -86,7 +86,7 @@ def test_notebook_simple_gui_fastapi(tb, helpers):
     tb.execute_cell("gui_stop")
     with pytest.raises(Exception) as exc_info:
         urlopen("http://127.0.0.1:5000/taipy-jsx/page1")
-    assert "Errno 61" in str(exc_info.value)
+    assert "Connection refused" in str(exc_info.value)
     tb.execute_cell("gui_re_run")
     while True:
         with contextlib.suppress(Exception):
@@ -102,4 +102,4 @@ def test_notebook_simple_gui_fastapi(tb, helpers):
     tb.execute_cell("gui_re_stop")
     with pytest.raises(Exception) as exc_info:
         urlopen("http://127.0.0.1:5000/taipy-jsx/page1")
-    assert "Errno 61" in str(exc_info.value)
+    assert "Connection refused" in str(exc_info.value)

+ 1 - 0
tools/packages/pipfiles/Pipfile3.10.max

@@ -38,6 +38,7 @@ types-python-dateutil = "*"
 types-pytz = "*"
 types-toml = ">=0.10.0"
 types-tzlocal = "*"
+websocket-client = "*"
 
 [requires]
 python_version = "3"

+ 1 - 0
tools/packages/pipfiles/Pipfile3.11.max

@@ -38,6 +38,7 @@ types-python-dateutil = "*"
 types-pytz = "*"
 types-toml = ">=0.10.0"
 types-tzlocal = "*"
+websocket-client = "*"
 
 [requires]
 python_version = "3"

+ 1 - 0
tools/packages/pipfiles/Pipfile3.12.max

@@ -38,6 +38,7 @@ types-python-dateutil = "*"
 types-pytz = "*"
 types-toml = ">=0.10.0"
 types-tzlocal = "*"
+websocket-client = "*"
 
 [requires]
 python_version = "3"

+ 1 - 0
tools/packages/pipfiles/Pipfile3.9.max

@@ -38,6 +38,7 @@ types-python-dateutil = "*"
 types-pytz = "*"
 types-toml = ">=0.10.0"
 types-tzlocal = "*"
+websocket-client = "*"
 
 [requires]
 python_version = "3"