Changeset ac05b52 for src/gnuboat/mapservice_impl/tests/__init__.py
- Timestamp:
- May 4, 2020, 8:35:25 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 48dcf77
- Parents:
- 82eff76
- File:
-
- 1 edited
-
src/gnuboat/mapservice_impl/tests/__init__.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/gnuboat/mapservice_impl/tests/__init__.py
r82eff76 rac05b52 38 38 def create_app(testcase): 39 39 logging.getLogger('connexion.operation').setLevel('ERROR') 40 app = connexion.App(__name__, 41 specification_dir='../../mapservice/openapi/') 40 app = connexion.App( 41 __name__, 42 specification_dir='../../mapservice/openapi/' 43 ) 42 44 application = app.app 43 45 CORS(application) … … 48 50 application.config.from_object( 49 51 'gnuboat.mapservice_impl.Config.TestingConfig') 50 application.template_folder = os.path.join(os.path.dirname(__file__), 51 '../../mapservice_impl/templates') 52 application.template_folder = os.path.join( 53 os.path.dirname(__file__), 54 '../../mapservice_impl/templates' 55 ) 52 56 celery = Celery(__name__, broker=application.config['CELERY_BROKER_URL']) 53 57 celery.config_from_object(application.config)
Note:
See TracChangeset
for help on using the changeset viewer.
