From 79002512706b331643036b1a30cc02e15a61ede7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Domes?= Date: Thu, 23 May 2019 22:21:13 +0200 Subject: [PATCH] testutils: oprava par chyb, pokracovani debugovani na Anetine notebooku --- seminar/testutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seminar/testutils.py b/seminar/testutils.py index a0c0e380..017c621a 100644 --- a/seminar/testutils.py +++ b/seminar/testutils.py @@ -77,7 +77,7 @@ def gen_skoly(): skoly.append(Skola.objects.create(mesto='Humenné', stat='SK', psc='012 34', ulice='Pltká 1', nazev='Sredná škuola', je_zs=False, je_ss=True)) #FIXME pridat kontaktni osobu alespon nekde - skoly.append(zlinska = Skola.objects.create(mesto = 'Zlín', stat='CZ', psc='76001', + skoly.append(Skola.objects.create(mesto = 'Zlín', stat='CZ', psc='76001', ulice='náměstí T.G. Masaryka 2734-9', nazev='Gymnázium a Střední jazyková škola s právem SJZ', kratky_nazev="GaSJŠspSJZ", je_zs=True, je_ss=True)) @@ -202,7 +202,7 @@ def create_test_data(size = 6, rnd = None): skoly = gen_skoly() # osoby - osoby = gen_osoby() + osoby = gen_osoby(size) # resitele a organizatori last_rocnik = 25