1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

inclusif, avoids python3.10 syntax

This commit is contained in:
korenstin
2024-08-28 11:11:32 +02:00
parent a201d8376a
commit 946674f59b
2 changed files with 22 additions and 44 deletions

View File

@ -155,7 +155,7 @@ class TestWEIAlgorithm(TestCase):
registration = qs.get()
self.assertRedirects(response, reverse("wei:wei_survey", kwargs=dict(pk=registration.pk)), 302, 200)
for question in WORDS:
# Fill 1A Survey, 20 pages
# Fill 1A Survey, 10 pages
# be careful if questionnary form change (number of page, type of answer...)
response = self.client.post(reverse("wei:wei_survey", kwargs=dict(pk=registration.pk)), {
question: "1"