Skip to content

Commit 4acf93a

Browse files
authored
test(aws): Fix aws trigger tests, use get_async_conn for mock object (apache#47667)
follow up of apache#47515
1 parent 64f8bd7 commit 4acf93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/amazon/tests/unit/amazon/aws/triggers/test_mwaa.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def test_serialization(self):
9292

9393
@pytest.mark.asyncio
9494
@mock.patch.object(MwaaHook, "get_waiter")
95-
@mock.patch.object(MwaaHook, "async_conn")
95+
@mock.patch.object(MwaaHook, "get_async_conn")
9696
async def test_run_success(self, mock_async_conn, mock_get_waiter):
9797
mock_async_conn.__aenter__.return_value = mock.MagicMock()
9898
mock_get_waiter().wait = AsyncMock()

0 commit comments

Comments
 (0)