Changeset 43fd35c for buildhelpers/codegen/templates/__init__test.mustache
- Timestamp:
- Apr 19, 2020, 4:27:01 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 2a31181
- Parents:
- 77cd9cf
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
buildhelpers/codegen/templates/__init__test.mustache
r77cd9cf r43fd35c 14 14 15 15 from {{packageName}}.encoder import JSONEncoder 16 from {{packageName}}.server_impl.database.Model import db, db_setup, load_spatialite 17 from . import db_test_setup 16 from {{packageName}}_impl.database.Model import ( 17 db, db_setup, load_spatialite 18 ) 19 from {{packageName}}_impl.tests import db_test_setup 18 20 19 21 class BaseTestCase(TestCase): … … 27 29 app.add_api('openapi.yaml') 28 30 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') 31 33 celery = Celery(__name__, broker=application.config['CELERY_BROKER_URL']) 32 34 celery.config_from_object(application.config)
Note:
See TracChangeset
for help on using the changeset viewer.
