File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def test_action_result_with_status_at_top_level():
3434 assert result_callback .called
3535 result = result_callback .call_args [0 ][0 ]
3636 assert isinstance (result , ActionResult )
37- assert result ["status" ] == ActionGoalStatus .SUCCEEDED . name
37+ assert result ["status" ] == ActionGoalStatus .SUCCEEDED
3838 assert result ["values" ] == message ["values" ]
3939
4040
@@ -72,7 +72,7 @@ def test_action_result_with_status_in_values():
7272 assert result_callback .called
7373 result = result_callback .call_args [0 ][0 ]
7474 assert isinstance (result , ActionResult )
75- assert result ["status" ] == ActionGoalStatus .SUCCEEDED . name
75+ assert result ["status" ] == ActionGoalStatus .SUCCEEDED
7676
7777
7878def test_action_result_failure_with_status_at_top_level ():
@@ -101,7 +101,7 @@ def test_action_result_failure_with_status_at_top_level():
101101
102102 assert error_callback .called
103103 result = error_callback .call_args [0 ][0 ]
104- assert result ["status" ] == ActionGoalStatus .ABORTED . name
104+ assert result ["status" ] == ActionGoalStatus .ABORTED
105105 assert result ["values" ] == message ["values" ]
106106
107107
You can’t perform that action at this time.
0 commit comments