Ansible schedule form: structured playbook-variable fields + first-item dropdown defaults #2
@@ -20,9 +20,11 @@ _NEEDS_DB = pytest.mark.skipif(
|
||||
|
||||
|
||||
def _make_app():
|
||||
# create_app is synchronous and runs its own internal asyncio.run for
|
||||
# settings/migrations — call it directly (matching the other integration
|
||||
# tests); wrapping it in asyncio.run nests event loops and fails.
|
||||
from steward.app import create_app
|
||||
import asyncio
|
||||
return asyncio.run(create_app(testing=False))
|
||||
return create_app(testing=False)
|
||||
|
||||
|
||||
@_NEEDS_DB
|
||||
|
||||
Reference in New Issue
Block a user