From f12c4ccb7a1d4e229344d9b86ccaf5e325893091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Mon, 7 Nov 2022 20:45:39 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20rozbit=C3=A1=20testdata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/testutils.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/seminar/testutils.py b/seminar/testutils.py index 2d4f3abf..a13e82c8 100644 --- a/seminar/testutils.py +++ b/seminar/testutils.py @@ -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),