Skip to content
Snippets Groups Projects
Commit 9e2b313b authored by Tobiasz Kędzierski's avatar Tobiasz Kędzierski Committed by James Curtin
Browse files

Fix flask test command

parent 9fb83480
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
"""Defines fixtures available to all tests."""
import logging
import pytest
from webtest import TestApp
......@@ -14,6 +16,7 @@ from .factories import UserFactory
def app():
"""Create application for the tests."""
_app = create_app("tests.settings")
_app.logger.setLevel(logging.CRITICAL)
ctx = _app.test_request_context()
ctx.push()
......
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