Browse Source

Úlohy hotovy

middleware_test
Pavel "LEdoian" Turinsky 4 years ago
parent
commit
86bc839f2a
  1. 4
      db_compare.py

4
db_compare.py

@ -320,7 +320,9 @@ def check_uloha():
for o,n in res:
check_same(o,n, old_fields, new_fields)
# TODO: cislo_deadline
# Datum deadline vypadá prázdně, tak to budeme předpokládat.
if n['datum_deadline'] is not None:
raise ValueError("Úloha má deadline.")
def check_tema():
old_query = "SELECT * FROM seminar_problemy WHERE typ IN ('tema', 'serial') ORDER BY id"

Loading…
Cancel
Save