Skip to content

Commit a53fd6a

Browse files
committed
tests/unit_tests: sync unit tests after model changes (error_code field)
Recent changes [0] to the model caused unit tests to get out-of-sync with its new state. This results in false positive CI workflow failures [1] which were not caused by the code introduced in the PR. [0] kernelci/kernelci-core#2348 [1] https://github.com/kernelci/kernelci-api/actions/runs/7827783619/job/21356327252?pr=473 Fixes: #476 Signed-off-by: Paweł Wieczorek <[email protected]>
1 parent 8e6a806 commit a53fd6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit_tests/test_node_handler.py

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def test_create_node_endpoint(mock_db_create, mock_publish_cloudevent,
6969
'created',
7070
'data',
7171
'debug',
72+
'error_code',
7273
'group',
7374
'holdoff',
7475
'kind',
@@ -221,6 +222,7 @@ def test_get_node_by_id_endpoint(mock_db_find_by_id,
221222
'created',
222223
'data',
223224
'debug',
225+
'error_code',
224226
'group',
225227
'holdoff',
226228
'kind',

0 commit comments

Comments
 (0)