From 3a0f0873e273d3efef0087165c3f8ff2f118a0c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Mon, 3 Apr 2023 22:18:58 +0800 Subject: [PATCH] Added documentation to the bp, babel_js, csrf, and db variables in the test site. --- tests/test_site/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_site/__init__.py b/tests/test_site/__init__.py index 95e610a..07aad68 100644 --- a/tests/test_site/__init__.py +++ b/tests/test_site/__init__.py @@ -30,9 +30,13 @@ from flask_wtf import CSRFProtect from sqlalchemy import Column bp: Blueprint = Blueprint("home", __name__) +"""The global blueprint.""" babel_js: BabelJS = BabelJS() +"""The Babel JavaScript instance.""" csrf: CSRFProtect = CSRFProtect() +"""The CSRF protector.""" db: SQLAlchemy = SQLAlchemy() +"""The database instance.""" def create_app(is_testing: bool = False) -> Flask: