20 lines
289 B
Python
20 lines
289 B
Python
# Library imports
|
|
import pytest
|
|
|
|
# Import testing flask app factory function
|
|
from tests.testing_app import create_app
|
|
|
|
|
|
####
|
|
# Global fixtures
|
|
####
|
|
|
|
|
|
# HTTP client for testing app requests
|
|
@pytest.fixture(scope="module")
|
|
def client():
|
|
app = create_app()
|
|
|
|
return app.test_client()
|
|
|