Skip to content
Myr

[pre-commit.ci] auto fixes from pre-commit.com hooks

Before adoption: this commit came in with the history the project adopted, so no landing records it.

for more information, see https://pre-commit.ci

authored by pre-commit-ci[bot] · committed by Phil Jones · parent 270eb2d · Browse files · 1 file+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−4 removed

  • tests:+4 added−4 removed

1 file+4 added−4 removed

modified:tests/test_async.py+4 added-4 removed
29 unmodified lines
3031class AsyncMethodView(MethodView):32 async def get(self):33 await asyncio.sleep(0)34 return 'GET'34 return "GET"3536 async def post(self):37 await asyncio.sleep(0)38 return 'POST'38 return "POST"394041@pytest.fixture(name="async_app")42def _async_app():
29 unmodified lines
72 raise BlueprintError()7374 app.register_blueprint(blueprint, url_prefix="/bp")7576 app.add_url_rule('/view', view_func=AsyncView.as_view('view'))77 app.add_url_rule('/methodview', view_func=AsyncMethodView.as_view('methodview'))76 app.add_url_rule("/view", view_func=AsyncView.as_view("view"))77 app.add_url_rule("/methodview", view_func=AsyncMethodView.as_view("methodview"))7879 return app8081
82 unmodified lines