added projektförderung to extern types test

This commit is contained in:
Oliver Zander 2025-10-15 12:26:57 +02:00
parent ec062df5f4
commit 7d1511bb93
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
from django.shortcuts import resolve_url from django.shortcuts import resolve_url
from django.test import TestCase 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.utils.testing import create_superuser, login, request
from input.views import TYPES from input.views import TYPES
@ -48,7 +48,7 @@ class AnonymousViewTestCase(TestCase):
self.assertContains(response, 'Deine Anfrage wurde gesendet.') self.assertContains(response, 'Deine Anfrage wurde gesendet.')
def test_extern_steps(self): def test_extern_types(self):
types = [ types = [
('BIB', 'Bibliotheksausweis'), ('BIB', 'Bibliotheksausweis'),
('ELIT', 'Online-Ressource'), ('ELIT', 'Online-Ressource'),
@ -59,6 +59,7 @@ class AnonymousViewTestCase(TestCase):
('TRAV', 'Transportmittel'), ('TRAV', 'Transportmittel'),
('SOFT', 'Lizenz'), ('SOFT', 'Lizenz'),
('VIS', 'DIN 5008'), ('VIS', 'DIN 5008'),
(TYPE_PROJ_LT_1000, 'Projektförderung'),
] ]
for code, text in types: for code, text in types: