WIP 2024-08-10

This commit is contained in:
2024-08-10 21:31:21 +02:00
parent 09b21d4f43
commit 99b48bc3f6
36 changed files with 835 additions and 2081 deletions

View File

@ -1,19 +1,13 @@
from typing import TYPE_CHECKING
import pytest
from django.test import Client, RequestFactory
from django.test import Client
from django.urls import reverse
if TYPE_CHECKING:
from django.http import HttpResponse
@pytest.fixture
def factory() -> RequestFactory:
"""Factory for creating requests."""
return RequestFactory()
@pytest.mark.django_db
def test_index_view(client: Client) -> None:
"""Test index view."""