codesmidgen/tests/test_views.py
Raoul Snyman bcb29e3d1c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Building out pipeline
- Update hatch environments for linting, testing
- Add initial Dockerfile
- Add CI pipeline configuration
- Add test
- Add icon
- Remove setup.py
2023-07-27 22:14:11 -07:00

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