Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/realpython/discover-flask
/ create_app
Method
create_app
tests/base.py:10–12 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
8
""
"A base test case."
""
9
10
def
create_app(self):
11
app.config.from_object(
'config.TestConfig'
)
12
return
app
13
14
def
setUp(self):
15
db.create_all()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected