Browse Source

Fix: rozbitá testdata

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

4
seminar/testutils.py

@ -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…
Cancel
Save