Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
datnguye committed Sep 8, 2023
1 parent 34993ee commit 5e26429
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/unit/adapters/test_dbt_invocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ def test_get_selection(
mock_dbtRunner_invoke.assert_called_once_with(args)

@mock.patch("dbterd.adapters.dbt_invocation.dbtRunner.invoke")
def test_get_selection__failed(
self,
mock_dbtRunner_invoke
):
def test_get_selection__failed(self, mock_dbtRunner_invoke):
mock_dbtRunner_invoke.return_value = dbtRunnerResult(success=False)
with pytest.raises(click.UsageError):
DbtInvocation(dbt_target="dummy").get_selection(
Expand Down

0 comments on commit 5e26429

Please sign in to comment.