From 42bc4dd61a1040614755dda38411420ddc95a1a5 Mon Sep 17 00:00:00 2001 From: Yash Lodha Date: Mon, 7 Dec 2015 15:02:38 +0530 Subject: [PATCH] instance path is set in the following files of tests cases --- flask/testsuite/test_apps/config_module_app.py | 2 +- flask/testsuite/test_apps/config_package_app/__init__.py | 2 +- flask/testsuite/test_apps/main_app.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flask/testsuite/test_apps/config_module_app.py b/flask/testsuite/test_apps/config_module_app.py index 21da4587..2c2b9aeb 100644 --- a/flask/testsuite/test_apps/config_module_app.py +++ b/flask/testsuite/test_apps/config_module_app.py @@ -1,4 +1,4 @@ import os import flask here = os.path.abspath(os.path.dirname(__file__)) -app = flask.Flask(__name__,instance_path=os.path.join(os.path.abspath(os.path.dirname(__file__)),'instance')) +app = flask.Flask(__name__, instance_path=os.path.join(os.path.abspath(os.path.dirname(__file__)),'instance')) diff --git a/flask/testsuite/test_apps/config_package_app/__init__.py b/flask/testsuite/test_apps/config_package_app/__init__.py index 704e8e81..ab538f17 100644 --- a/flask/testsuite/test_apps/config_package_app/__init__.py +++ b/flask/testsuite/test_apps/config_package_app/__init__.py @@ -1,4 +1,4 @@ import os import flask here = os.path.abspath(os.path.dirname(__file__)) -app = flask.Flask(__name__,instance_path=os.path.join(os.path.abspath(os.path.dirname(os.path.dirname(__file__))),'instance')) +app = flask.Flask(__name__, instance_path=os.path.join(os.path.abspath(os.path.dirname(os.path.dirname(__file__))),'instance')) diff --git a/flask/testsuite/test_apps/main_app.py b/flask/testsuite/test_apps/main_app.py index d616bf7e..82a2add5 100644 --- a/flask/testsuite/test_apps/main_app.py +++ b/flask/testsuite/test_apps/main_app.py @@ -2,4 +2,4 @@ import os import flask # Test Flask initialization with main module. -app = flask.Flask('__main__',instance_path=os.path.join(os.path.abspath(os.path.dirname('__main__')),'instance')) +app = flask.Flask('__main__', instance_path=os.path.join(os.path.abspath(os.path.dirname('__main__')),'instance'))