Fix: rozbitá testdata
This commit is contained in:
parent
100e16030a
commit
f12c4ccb7a
1 changed files with 0 additions and 4 deletions
|
@ -436,10 +436,6 @@ def gen_cisla(rnd, rocniky):
|
||||||
(mesic_vydani + 1) % 12 + 1,
|
(mesic_vydani + 1) % 12 + 1,
|
||||||
rnd.randint(1, 28))
|
rnd.randint(1, 28))
|
||||||
|
|
||||||
# posledni 2 cisla v rocniku nemaji deadline
|
|
||||||
if (ci + 2 > cisel):
|
|
||||||
deadline = None
|
|
||||||
|
|
||||||
cislo = Cislo.objects.create(
|
cislo = Cislo.objects.create(
|
||||||
rocnik = rocnik,
|
rocnik = rocnik,
|
||||||
poradi = str(ci),
|
poradi = str(ci),
|
||||||
|
|
Loading…
Reference in a new issue