Skip to content

Commit

Permalink
Fix CLI vars test to check for object instead of string (#6850)
Browse files Browse the repository at this point in the history
  • Loading branch information
aranke authored Feb 6, 2023
1 parent e08eede commit 9c0b62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/context_methods/test_cli_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test__cli_vars_longer(self, project):
results = run_dbt(["test", "--vars", "{simple: abc, unused: def}"])
assert len(results) == 1
run_results = get_artifact(project.project_root, "target", "run_results.json")
assert run_results["args"]["vars"] == "{simple: abc, unused: def}"
assert run_results["args"]["vars"] == {"simple": "abc", "unused": "def"}


class TestCLIVarsProfile:
Expand Down

0 comments on commit 9c0b62b

Please sign in to comment.