Browse Source

Fix: rozbitá testdata

pull/1/head
Jonas Havelka 2 years ago
parent
commit
100e16030a
  1. 4
      seminar/testutils.py

4
seminar/testutils.py

@ -445,7 +445,6 @@ def gen_cisla(rnd, rocniky):
poradi = str(ci),
datum_vydani=vydano,
verejne_db=True,
verejna_vysledkovka=True
)
node2 = CisloNode.objects.get(cislo = cislo)
node2.succ = node
@ -454,7 +453,8 @@ def gen_cisla(rnd, rocniky):
deadline = Deadline.objects.create(
cislo=cislo,
deadline=deadline,
typ=Deadline.TYP_CISLA
typ=Deadline.TYP_CISLA,
verejna_vysledkovka=True,
)
deadline.save()
node = node2

Loading…
Cancel
Save