Skip to content

Commit

Permalink
fix class instantiation args
Browse files Browse the repository at this point in the history
  • Loading branch information
David Steinar Asgrimsson committed May 31, 2024
1 parent 92d55c6 commit 7e558f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/operators/test_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,11 @@ def test_handle_exception_subprocess(caplog):
"""
Test the handle_exception_subprocess method of the DbtLocalBaseOperator class for non-zero dbt exit code.
"""
operator = ConcreteDbtLocalBaseOperator(profile_config=None)
operator = ConcreteDbtLocalBaseOperator(
profile_config=None,
task_id="my-task",
project_dir="my/dir",
)
result = FullOutputSubprocessResult(exit_code=1, output="test", full_output=["n" * n for n in range(1, 1000)])

caplog.set_level(logging.ERROR)
Expand Down

0 comments on commit 7e558f6

Please sign in to comment.