Skip to content

Commit 7a6b91d

Browse files
committed
Fix tests missing new field
1 parent ada63d4 commit 7a6b91d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/jobs/test_job_decorator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,7 @@ async def execute_default(self) -> bool:
997997
"done": True,
998998
"parent_id": None,
999999
"errors": [],
1000+
"created": ANY,
10001001
},
10011002
},
10021003
}

tests/jobs/test_job_manager.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ async def test_notify_on_change(coresys: CoreSys):
104104
"done": None,
105105
"parent_id": None,
106106
"errors": [],
107+
"created": ANY,
107108
},
108109
},
109110
}
@@ -125,6 +126,7 @@ async def test_notify_on_change(coresys: CoreSys):
125126
"done": None,
126127
"parent_id": None,
127128
"errors": [],
129+
"created": ANY,
128130
},
129131
},
130132
}
@@ -146,6 +148,7 @@ async def test_notify_on_change(coresys: CoreSys):
146148
"done": None,
147149
"parent_id": None,
148150
"errors": [],
151+
"created": ANY,
149152
},
150153
},
151154
}
@@ -167,6 +170,7 @@ async def test_notify_on_change(coresys: CoreSys):
167170
"done": False,
168171
"parent_id": None,
169172
"errors": [],
173+
"created": ANY,
170174
},
171175
},
172176
}
@@ -193,6 +197,7 @@ async def test_notify_on_change(coresys: CoreSys):
193197
"message": "Unknown error, see supervisor logs",
194198
}
195199
],
200+
"created": ANY,
196201
},
197202
},
198203
}
@@ -218,6 +223,7 @@ async def test_notify_on_change(coresys: CoreSys):
218223
"message": "Unknown error, see supervisor logs",
219224
}
220225
],
226+
"created": ANY,
221227
},
222228
},
223229
}

0 commit comments

Comments
 (0)