Commit bb3f5ec4 authored by Spiros Koulouzis's avatar Spiros Koulouzis

fix testing

parent 08010adf
import logging
import connexion
from flask_testing import TestCase
from sure_tosca.encoder import JSONEncoder
class BaseTestCase(TestCase):
def create_app(self):
logging.getLogger('connexion.operation').setLevel('ERROR')
app = connexion.App(__name__, specification_dir='../swagger/')
app.app.json_encoder = JSONEncoder
app.add_api('swagger.yaml')
return app.app
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment