13 lines
174 B
Python
13 lines
174 B
Python
import pytest
|
|
|
|
from palindrome_detector import create_app
|
|
|
|
|
|
@pytest.fixture
|
|
def app():
|
|
return create_app()
|
|
|
|
@pytest.fixture
|
|
def client(app):
|
|
return app.test_client()
|