Skip to content

Commit

Permalink
Expect that the args variable is un-modified by dbt.invoke(args)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeatty10 committed Mar 23, 2024
1 parent c071868 commit a517491
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/functional/dbt_runner/test_dbt_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ def test_pass_in_manifest(self, project, dbt):
assert result.success
assert len(FACTORY.adapters) == 1

def test_pass_in_args_variable(self, dbt):
args = ["--log-format", "text"]
args_before = args.copy()
dbt.invoke(args)
assert args == args_before


class TestDbtRunnerQueryComments:
@pytest.fixture(scope="class")
Expand Down

0 comments on commit a517491

Please sign in to comment.