<reponame>jamesalzuk/early-detection-index<filename>application/tests/conftest.py
from application import create_app
import os
from pytest import fixture

@fixture(scope='module')
def client():
	flask_app = create_app()
	test_client = flask_app.test_client()

	context = flask_app.app_context()
	context.push()
	yield test_client

	context.pop()


from application import create_app
import os
from pytest import fixture

@fixture(scope='module')
def client():
	flask_app = create_app()
	test_client = flask_app.test_client()

	context = flask_app.app_context()
	context.push()
	yield test_client

	context.pop()