Fix: rozbitá testdata
This commit is contained in:
parent
3d1b2794e9
commit
100e16030a
1 changed files with 2 additions and 2 deletions
|
@ -445,7 +445,6 @@ def gen_cisla(rnd, rocniky):
|
||||||
poradi = str(ci),
|
poradi = str(ci),
|
||||||
datum_vydani=vydano,
|
datum_vydani=vydano,
|
||||||
verejne_db=True,
|
verejne_db=True,
|
||||||
verejna_vysledkovka=True
|
|
||||||
)
|
)
|
||||||
node2 = CisloNode.objects.get(cislo = cislo)
|
node2 = CisloNode.objects.get(cislo = cislo)
|
||||||
node2.succ = node
|
node2.succ = node
|
||||||
|
@ -454,7 +453,8 @@ def gen_cisla(rnd, rocniky):
|
||||||
deadline = Deadline.objects.create(
|
deadline = Deadline.objects.create(
|
||||||
cislo=cislo,
|
cislo=cislo,
|
||||||
deadline=deadline,
|
deadline=deadline,
|
||||||
typ=Deadline.TYP_CISLA
|
typ=Deadline.TYP_CISLA,
|
||||||
|
verejna_vysledkovka=True,
|
||||||
)
|
)
|
||||||
deadline.save()
|
deadline.save()
|
||||||
node = node2
|
node = node2
|
||||||
|
|
Loading…
Reference in a new issue