Skip to content
Snippets Groups Projects
Commit 299c399c authored by Chris Pastl's avatar Chris Pastl
Browse files

Add BaseTestCase, use app generated in aura module

parent e74ae813
No related branches found
No related tags found
1 merge request!7Commit the OpenAPI generated tests into "./tests" and make them run successfully #24
import logging
from flask_testing import TestCase
from aura_engine_api.app import app
from aura_engine_api.rest.encoder import JSONEncoder
class BaseTestCase(TestCase):
def create_app(self):
logging.getLogger("connexion.operation").setLevel("ERROR")
app.json_encoder = JSONEncoder
return app
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment