Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 24, 2025
1 parent e21a15f commit 95e54df
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/snowflake/sensors/test_snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_execute_complete_validate(self):
success=dummy_callable,
)

result = sensor.execute_complete(context=None, event={"status": "validate", "result": [[(True)]]})
result = sensor.execute_complete(context=None, event={"status": "validate", "result": [[True]]})
assert result is None

@mock.patch("astronomer.providers.snowflake.sensors.snowflake.SnowflakeSensorAsync._defer")
Expand All @@ -123,9 +123,7 @@ def test_execute_complete_validate_false(self, mock_defer):
success=dummy_callable_false,
)

sensor.execute_complete(
context=None, event={"status": "validate", "result": [[(True)]], "message": ""}
)
sensor.execute_complete(context=None, event={"status": "validate", "result": [[True]], "message": ""})
mock_defer.assert_called_once()

def test_soft_fail_enable(self, context):
Expand Down

0 comments on commit 95e54df

Please sign in to comment.