Jenkins/tests/conftest.py
2023-12-07 10:58:18 +01:00

10 lines
140 B
Python

import pytest
@pytest.fixture
def client():
from web import app
app.app.config['TESTING'] = True
yield app.app.test_client()