proejct commit

This commit is contained in:
2026-09-24 15:45:31 +02:00
commit 82d52be8a5
63 changed files with 8748 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
"""Fixture für die headless bediente Anwendung."""
import random
from collections.abc import Iterator
import pygame
import pytest
from sandbox.main import App
@pytest.fixture
def app() -> Iterator[App]:
"""Frische Anwendung mit reproduzierbaren Zufallsfarben."""
application = App(rng=random.Random(0))
pygame.event.clear()
yield application
application.close()