SciPaperLoader/tests/test_scipaperloader.py
Michael Beck 1a9bd7c0b1 init
2025-03-30 18:44:30 +02:00

22 lines
337 B
Python

import pytest
from scipaperloader import create_app
@pytest.fixture
def app():
app = create_app({"TESTING": True})
# set up here
yield app
# tear down here
@pytest.fixture
def client(app):
return app.test_client()
def test_index(client):
response = client.get("/")
assert b"It works!" in response.data