MCPcopy Create free account
hub / github.com/HisMax/RedInk / app

Function app

tests/conftest.py:15–20  ·  view source on GitHub ↗

创建测试用 Flask 应用

()

Source from the content-addressed store, hash-verified

13
14@pytest.fixture
15def app():
16 """创建测试用 Flask 应用"""
17 from backend.app import create_app
18 app = create_app()
19 app.config['TESTING'] = True
20 return app
21
22
23@pytest.fixture

Callers

nothing calls this directly

Calls 1

create_appFunction · 0.90

Tested by

no test coverage detected