Ignore:
Timestamp:
Apr 19, 2020, 4:27:01 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
2a31181
Parents:
77cd9cf
Message:

Refactored code to have one gnuboat python structure

File:
1 moved

Legend:

Unmodified
Added
Removed
  • buildhelpers/codegen/templates/__init__test.mustache

    r77cd9cf r43fd35c  
    1414
    1515from {{packageName}}.encoder import JSONEncoder
    16 from {{packageName}}.server_impl.database.Model import db, db_setup, load_spatialite
    17 from . import db_test_setup
     16from {{packageName}}_impl.database.Model import (
     17    db, db_setup, load_spatialite
     18)
     19from {{packageName}}_impl.tests import db_test_setup
    1820
    1921class BaseTestCase(TestCase):
    … …  
    2729                app.add_api('openapi.yaml')
    2830
    29                 application.config.from_object('{{packageName}}.server_impl.Config.TestingConfig')
    30                 application.template_folder = os.path.join(os.path.dirname(__file__), '../templates')
     31                application.config.from_object('{{packageName}}_impl.Config.TestingConfig')
     32                application.template_folder = os.path.join(os.path.dirname(__file__), '../../mapservice_impl/templates')
    3133                celery = Celery(__name__, broker=application.config['CELERY_BROKER_URL'])
    3234                celery.config_from_object(application.config)
Note: See TracChangeset for help on using the changeset viewer.