Fix: rozbitá testdata

This commit is contained in:
Jonas Havelka 2022-11-07 20:45:39 +01:00
parent 100e16030a
commit f12c4ccb7a

View file

@ -436,10 +436,6 @@ def gen_cisla(rnd, rocniky):
(mesic_vydani + 1) % 12 + 1,
rnd.randint(1, 28))
# posledni 2 cisla v rocniku nemaji deadline
if (ci + 2 > cisel):
deadline = None
cislo = Cislo.objects.create(
rocnik = rocnik,
poradi = str(ci),