Erste Version mit erstem Datenmodell realisiert. Noch kein Template, kein View.

This commit is contained in:
2026-05-07 19:50:39 +02:00
parent 86261ea577
commit f2f00848f2
5707 changed files with 759434 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from .api import get_messages
# Make unittest ignore frames in this module when reporting failures.
__unittest = True
class MessagesTestMixin:
def assertMessages(self, response, expected_messages, *, ordered=True):
request_messages = list(get_messages(response.wsgi_request))
assertion = self.assertEqual if ordered else self.assertCountEqual
assertion(request_messages, expected_messages)