Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dchevell/flask-executor
/ fib
Function
fib
tests/test_executor.py:17–21 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
15
# Reusable functions for tests
16
17
def
fib(n):
18
if
n <= 2:
19
return
1
20
else
:
21
return
fib(n-1) + fib(n-2)
22
23
def
app_context_test_value(_=None):
24
return
current_app.config[
'TEST_VALUE'
]
Callers
6
test_submit
Function · 0.70
decorated
Function · 0.70
test_thread_decorator_submit
Function · 0.70
test_thread_decorator_map
Function · 0.70
test_named_executor_submit
Function · 0.70
test_pre_init_executor
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected