Skip to content

Commit

Permalink
tests/unit_tests: sync unit tests after model changes (error_code field)
Browse files Browse the repository at this point in the history
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: kernelci#476

Signed-off-by: Paweł Wieczorek <[email protected]>
  • Loading branch information
pawiecz authored and JenySadadia committed Feb 8, 2024
1 parent 8e6a806 commit b584875
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit_tests/test_node_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def test_create_node_endpoint(mock_db_create, mock_publish_cloudevent,
'created',
'data',
'debug',
'error_code',
'group',
'holdoff',
'kind',
Expand Down Expand Up @@ -221,6 +222,7 @@ def test_get_node_by_id_endpoint(mock_db_find_by_id,
'created',
'data',
'debug',
'error_code',
'group',
'holdoff',
'kind',
Expand Down

0 comments on commit b584875

Please sign in to comment.