Raoul Snyman
bcb29e3d1c
- Update hatch environments for linting, testing - Add initial Dockerfile - Add CI pipeline configuration - Add test - Add icon - Remove setup.py
17 lines
285 B
Python
17 lines
285 B
Python
import pytest
|
|
|
|
from stickynotes.app import make_app
|
|
|
|
pytestmark = [pytest.mark.asyncio]
|
|
|
|
|
|
@pytest.fixture
|
|
def app():
|
|
return make_app()
|
|
|
|
|
|
async def test_index(app):
|
|
test_client = app.test_client()
|
|
response = await test_client.get('/')
|
|
assert response.status_code == 200
|