forked from beba/foerderbarometer
added projektförderung to extern types test
This commit is contained in:
parent
ec062df5f4
commit
7d1511bb93
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue