Skip to content

Commit dba424a

Browse files
committed
Fix tests
1 parent 7e91142 commit dba424a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

cmscontrib/updaters/update_from_1.5.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,7 @@ ALTER TABLE user_test_results DROP COLUMN evaluation_sandbox;
4545
-- https://github.com/cms-dev/cms/pull/1486
4646
ALTER TABLE public.tasks ADD COLUMN allowed_languages varchar[];
4747

48+
-- https://github.com/cms-dev/cms/pull/1583
49+
DROP TABLE public.printjobs;
50+
4851
COMMIT;

cmstestsuite/unit_tests/cmscontrib/DumpExporterTest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ def do_export(self, contest_ids, dump_files=True, skip_generated=False,
9494
skip_generated=skip_generated,
9595
skip_submissions=skip_submissions,
9696
skip_user_tests=False,
97-
skip_users=skip_users,
98-
skip_print_jobs=False).do_export()
97+
skip_users=skip_users).do_export()
9998
dump_path = os.path.join(self.target, "contest.json")
10099
try:
101100
with open(dump_path, "rt", encoding="utf-8") as f:

cmstestsuite/unit_tests/cmscontrib/DumpImporterTest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,7 @@ def do_import(self, drop=False, load_files=True,
147147
skip_generated=skip_generated,
148148
skip_submissions=skip_submissions,
149149
skip_user_tests=False,
150-
skip_users=skip_users,
151-
skip_print_jobs=False).do_import()
150+
skip_users=skip_users).do_import()
152151

153152
def write_dump(self, dump):
154153
destination = self.get_path("contest.json")

0 commit comments

Comments
 (0)