Files
epage/tests/__init__.py
2022-07-10 20:18:14 +01:00

15 lines
217 B
Python

#!/usr/bin/env python3
"""PyTest unit tests."""
import pytest
from app.app import app
@pytest.fixture
def client():
"""Set up Flask client for use in tests."""
client = app.test_client()
yield client