From 6f2115447aac6e8be71e1b0bf765e3a0d0a4c377 Mon Sep 17 00:00:00 2001 From: tankilevitch Date: Wed, 8 Jan 2025 13:45:05 +0200 Subject: [PATCH] adjust test to use eventType.HTTP_REQUEST --- port_ocean/tests/core/handlers/mixins/test_sync_raw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/port_ocean/tests/core/handlers/mixins/test_sync_raw.py b/port_ocean/tests/core/handlers/mixins/test_sync_raw.py index 90cb3a08c9..3fc1633415 100644 --- a/port_ocean/tests/core/handlers/mixins/test_sync_raw.py +++ b/port_ocean/tests/core/handlers/mixins/test_sync_raw.py @@ -426,7 +426,7 @@ async def test_register_raw( }, ] - async with event_context(EventType.RESYNC, trigger_type="machine") as event: + async with event_context(EventType.HTTP_REQUEST, trigger_type="machine") as event: # Use patch to mock the method instead of direct assignment with patch.object( mock_sync_raw_mixin_with_jq_processor.port_app_config_handler, @@ -504,7 +504,7 @@ async def test_unregister_raw( }, ] - async with event_context(EventType.RESYNC, trigger_type="machine") as event: + async with event_context(EventType.HTTP_REQUEST, trigger_type="machine") as event: # Use patch to mock the method instead of direct assignment with patch.object( mock_sync_raw_mixin_with_jq_processor.port_app_config_handler,