From 52de6311a44077d97412e1fa1fbc197969f3f96a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 10 Aug 2015 20:07:24 +0800 Subject: [PATCH] test/scheduler: add repo_msg --- artiq/test/scheduler.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/artiq/test/scheduler.py b/artiq/test/scheduler.py index 60bbd83c3..580214725 100644 --- a/artiq/test/scheduler.py +++ b/artiq/test/scheduler.py @@ -37,7 +37,8 @@ def _get_basic_steps(rid, expid, priority=0, flush=False): return [ {"action": "setitem", "key": rid, "value": {"pipeline": "main", "status": "pending", "priority": priority, - "expid": expid, "due_date": None, "flush": flush}, + "expid": expid, "due_date": None, "flush": flush, + "repo_msg": None}, "path": []}, {"action": "setitem", "key": "status", "value": "preparing", "path": [rid]}, @@ -89,7 +90,8 @@ class SchedulerCase(unittest.TestCase): expect.insert(0, {"action": "setitem", "key": 0, "value": {"pipeline": "main", "status": "pending", "priority": 99, - "expid": expid, "due_date": late, "flush": False}, + "expid": expid, "due_date": late, "flush": False, + "repo_msg": None}, "path": []}) scheduler.submit("main", expid, 99, late, False)