blob: 8bb55ccc54db04e3246545097b5eaded3946ba10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
"""
Configuration file for all unit tests.
"""
import pytest
from app import app
@pytest.fixture
def client():
"""Returns a Flask API client to interact with."""
app.config['TESTING'] = True
with app.test_client() as client:
yield client
|