From 7d1511bb931cc15ee1dd3439331f908549d35784 Mon Sep 17 00:00:00 2001 From: Oliver Zander Date: Wed, 15 Oct 2025 12:26:57 +0200 Subject: [PATCH] =?UTF-8?q?added=20projektf=C3=B6rderung=20to=20extern=20t?= =?UTF-8?q?ypes=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- input/tests/views.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/input/tests/views.py b/input/tests/views.py index 14d721e..566c6e3 100644 --- a/input/tests/views.py +++ b/input/tests/views.py @@ -1,7 +1,7 @@ from django.shortcuts import resolve_url from django.test import TestCase -from input.models import Library +from input.models import Library, TYPE_PROJ_LT_1000 from input.utils.testing import create_superuser, login, request from input.views import TYPES @@ -48,7 +48,7 @@ class AnonymousViewTestCase(TestCase): self.assertContains(response, 'Deine Anfrage wurde gesendet.') - def test_extern_steps(self): + def test_extern_types(self): types = [ ('BIB', 'Bibliotheksausweis'), ('ELIT', 'Online-Ressource'), @@ -59,6 +59,7 @@ class AnonymousViewTestCase(TestCase): ('TRAV', 'Transportmittel'), ('SOFT', 'Lizenz'), ('VIS', 'DIN 5008'), + (TYPE_PROJ_LT_1000, 'Projektförderung'), ] for code, text in types: