Skip to content

Commit

Permalink
Updating Test Ui Observable Unit Test with the expected endpoint info…
Browse files Browse the repository at this point in the history
…rmation
  • Loading branch information
antonio-amjr committed Sep 26, 2024
1 parent 5fcedfb commit 685f73f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/tests/test_engine/test_ui_observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def __expected_test_case_dict(index: int, suite_index: int) -> Dict[str, Any]:


def __expected_test_step_dict(
index: int, case_index: int, suite_index: int
index: int, case_index: int, suite_index: int, endpoint: int | None = None
) -> Dict[str, Any]:
return {
MessageKeysEnum.TYPE: MessageTypeEnum.TEST_UPDATE,
Expand All @@ -155,6 +155,7 @@ def __expected_test_step_dict(
"test_suite_execution_index": suite_index,
"test_case_execution_index": case_index,
"test_step_execution_index": index,
"endpoint": endpoint,
"state": TestStateEnum.EXECUTING,
"errors": [],
"failures": [],
Expand Down

0 comments on commit 685f73f

Please sign in to comment.