Skip to content

Commit c19c84b

Browse files
committed
fixed failing test
1 parent ae74aaf commit c19c84b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_operation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_route_operation_execution_works(self):
3535

3636
# @mock_signal_call("route_context_started")
3737
# @mock_signal_call("route_context_finished")
38-
@mock_log_call("error")
38+
@mock_log_call("warning")
3939
def test_route_operation_execution_should_log_execution(self):
4040
client = TestClient(self.SomeTestController)
4141
with pytest.raises(CustomException):
@@ -108,7 +108,7 @@ async def test_async_route_operation_execution_works(self):
108108

109109
# @mock_signal_call("route_context_started")
110110
# @mock_signal_call("route_context_finished")
111-
@mock_log_call("error")
111+
@mock_log_call("warning")
112112
async def test_async_route_operation_execution_should_log_execution(self):
113113
client = TestAsyncClient(self.SomeTestController)
114114
with pytest.raises(CustomException):

0 commit comments

Comments
 (0)