Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilbert09 committed Sep 13, 2024
1 parent c2bfeed commit 17617f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions posthog/temporal/data_imports/pipelines/test/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def mock_create_pipeline(local_self: Any):
"posthog.temporal.data_imports.pipelines.pipeline.validate_schema_and_update_table"
) as mock_validate_schema_and_update_table,
patch("posthog.temporal.data_imports.pipelines.pipeline.get_delta_tables"),
patch("posthog.temporal.data_imports.pipelines.pipeline.update_last_synced_at"),
):
pipeline = await self._create_pipeline("Customer", False)
res = await pipeline.run()
Expand All @@ -99,6 +100,7 @@ def mock_create_pipeline(local_self: Any):
"posthog.temporal.data_imports.pipelines.pipeline.validate_schema_and_update_table"
) as mock_validate_schema_and_update_table,
patch("posthog.temporal.data_imports.pipelines.pipeline.get_delta_tables"),
patch("posthog.temporal.data_imports.pipelines.pipeline.update_last_synced_at"),
):
pipeline = await self._create_pipeline("Customer", True)
res = await pipeline.run()
Expand Down

0 comments on commit 17617f6

Please sign in to comment.