PytestCollectionWarning: cannot collect 'test_app' because it is not a function. async def call(
Here test_app is an isnatance of quart app:
# Create the Quart app
test_app = app.create_app()
def event_runner():
policy = asyncio.get_event_loop_policy()
loop = policy.new_event_loop()
yield loop
loop.close()
I tried seeting flad test= flase for test_app.