Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheSmallHanCat/flow2api
/ _ClosableFakeTab
Class
_ClosableFakeTab
tests/test_browser_captcha_personal.py:23–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
22
23
class
_ClosableFakeTab:
24
def
__init__(self):
25
self.closed = False
26
27
async
def
close(self):
28
self.closed = True
29
30
async
def
sleep(self, _seconds):
31
return
None
32
33
34
class
_FakeWebSocket:
Callers
5
test_close_clears_resident_tabs_when_warmup_task_attr_missing
Method · 0.85
test_create_resident_tab_cleans_tab_when_initialization_fails
Method · 0.85
test_wait_for_recaptcha_raises_on_runtime_disconnect
Method · 0.85
test_force_fresh_flow_error_defers_sync_browser_restart_until_drain
Method · 0.85
test_get_token_waits_for_pending_fresh_restart_before_resident_pick
Method · 0.85
Calls
no outgoing calls
Tested by
5
test_close_clears_resident_tabs_when_warmup_task_attr_missing
Method · 0.68
test_create_resident_tab_cleans_tab_when_initialization_fails
Method · 0.68
test_wait_for_recaptcha_raises_on_runtime_disconnect
Method · 0.68
test_force_fresh_flow_error_defers_sync_browser_restart_until_drain
Method · 0.68
test_get_token_waits_for_pending_fresh_restart_before_resident_pick
Method · 0.68