File tree Expand file tree Collapse file tree
src/aignostics_foundry_core/gui
tests/aignostics_foundry_core/gui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ SOFTWARE.
360360
361361```
362362
363- ## aignostics-foundry-core (0.9 .0) - MIT License
363+ ## aignostics-foundry-core (0.11 .0) - MIT License
364364
365365🏭 Foundational infrastructure for Foundry components.
366366
Original file line number Diff line number Diff line change 2525 from aignostics_foundry_core .gui .auth import FrameFunc
2626
2727WINDOW_SIZE = (1280 , 768 )
28- BROWSER_RECONNECT_TIMEOUT = 60 * 60 * 24 * 7 # 7 days
28+ BROWSER_RECONNECT_TIMEOUT = 30 # default is 3 seconds, was 7 days previously
2929RESPONSE_TIMEOUT = 30
3030
3131
Original file line number Diff line number Diff line change @@ -221,20 +221,12 @@ def test_cannot_instantiate_directly(self) -> None:
221221class TestConstants :
222222 """Tests for gui constants."""
223223
224- def test_response_timeout (self ) -> None :
225- """RESPONSE_TIMEOUT is 30 seconds."""
226- assert RESPONSE_TIMEOUT == 30
227-
228224 def test_window_size_tuple (self ) -> None :
229225 """WINDOW_SIZE is a (width, height) tuple with positive dimensions."""
230226 w , h = WINDOW_SIZE
231227 assert w > 0
232228 assert h > 0
233229
234- def test_browser_reconnect_timeout_is_long (self ) -> None :
235- """BROWSER_RECONNECT_TIMEOUT is at least one day in seconds."""
236- assert BROWSER_RECONNECT_TIMEOUT >= 60 * 60 * 24
237-
238230
239231# ---------------------------------------------------------------------------
240232# gui_register_pages
You can’t perform that action at this time.
0 commit comments