Ignore:
Timestamp:
May 4, 2020, 8:35:25 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
48dcf77
Parents:
82eff76
Message:

Adapted mapservice_impl for different things

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnuboat/mapservice_impl/tests/__init__.py

    r82eff76 rac05b52  
    3838def create_app(testcase):
    3939    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    )
    4244    application = app.app
    4345    CORS(application)
    … …  
    4850    application.config.from_object(
    4951        '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    )
    5256    celery = Celery(__name__, broker=application.config['CELERY_BROKER_URL'])
    5357    celery.config_from_object(application.config)
Note: See TracChangeset for help on using the changeset viewer.