Index: src/mapservice/codegen/templates/__init__test.mustache
===================================================================
--- src/mapservice/codegen/templates/__init__test.mustache	(revision 5e4cb7308a6b389143e06dfa849e638ac3c2e3cb)
+++ src/mapservice/codegen/templates/__init__test.mustache	(revision 5e4cb7308a6b389143e06dfa849e638ac3c2e3cb)
@@ -0,0 +1,16 @@
+import logging
+
+import connexion
+from flask_testing import TestCase
+
+from {{packageName}}.encoder import JSONEncoder
+
+
+class BaseTestCase(TestCase):
+
+    def create_app(self):
+        logging.getLogger('connexion.operation').setLevel('ERROR')
+        app = connexion.App(__name__, specification_dir='../openapi/')
+        app.app.json_encoder = JSONEncoder
+        app.add_api('openapi.yaml')
+        return app.app
