MCPcopy 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
17def fib(n):
18 if n <= 2:
19 return 1
20 else:
21 return fib(n-1) + fib(n-2)
22
23def app_context_test_value(_=None):
24 return current_app.config['TEST_VALUE']

Callers 6

test_submitFunction · 0.70
decoratedFunction · 0.70
test_pre_init_executorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected