Skip to content

Commit

Permalink
test types
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Nov 16, 2023
1 parent 02006e4 commit 31a3986
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions posthog/tasks/test/test_warehouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def test_external_data_source_billing_limit_activate(
@patch("posthog.warehouse.models.table.DataWarehouseTable.get_columns")
@patch("posthog.tasks.warehouse.retrieve_sync")
@patch("posthog.tasks.warehouse.get_active_connection_streams_by_id")
def test_sync_resource(self, get_connection_streams_mock, send_request_mock, get_columns_mock):
def test_sync_resource(self, get_connection_streams_mock, send_request_mock, get_columns_mock) -> None:
send_request_mock.return_value = {
"jobId": 5827835,
"status": "succeeded",
Expand Down Expand Up @@ -212,7 +212,9 @@ def test_sync_resource(self, get_connection_streams_mock, send_request_mock, get
@patch("posthog.warehouse.models.table.DataWarehouseTable.get_columns")
@patch("posthog.tasks.warehouse.retrieve_sync")
@patch("posthog.tasks.warehouse.get_active_connection_streams_by_id")
def test_sync_resource_table_changed(self, get_connection_streams_mock, send_request_mock, get_columns_mock):
def test_sync_resource_table_changed(
self, get_connection_streams_mock, send_request_mock, get_columns_mock
) -> None:
send_request_mock.return_value = {
"jobId": 5827835,
"status": "succeeded",
Expand Down

0 comments on commit 31a3986

Please sign in to comment.