Some checks failed
Tests / Backend Tests (Python) (3.10) (push) Has been cancelled
Tests / Backend Tests (Python) (3.11) (push) Has been cancelled
Tests / Backend Tests (Python) (3.12) (push) Has been cancelled
Tests / Frontend Tests (JS) (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / All Tests Passed (push) Has been cancelled
13 lines
304 B
Python
13 lines
304 B
Python
import pytest
|
|
|
|
pytestmark = pytest.mark.unit
|
|
|
|
|
|
class TestFavicon:
|
|
@pytest.mark.asyncio
|
|
async def test_favicon_served(self, client):
|
|
resp = await client.get("/favicon.ico")
|
|
assert resp.status_code == 200
|
|
assert resp.content is not None
|
|
assert len(resp.content) > 0
|