Skip to content

Commit

Permalink
Improve code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana committed Jan 25, 2024
1 parent af3a08c commit 617338d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/operators/test_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,13 @@ def test_store_compiled_sql() -> None:
(DbtRunLocalOperator, {"full_refresh": True}, {"context": {}, "cmd_flags": ["--full-refresh"]}),
(
DbtTestLocalOperator,
{"full_refresh": True, "select": ["tag:daily"]},
{"context": {}, "cmd_flags": ["--select", "tag:daily"]},
{"full_refresh": True, "select": ["tag:daily"], "exclude": ["tag:disabled"]},
{"context": {}, "cmd_flags": ["--exclude", "tag:disabled", "--select", "tag:daily"]},
),
(
DbtTestLocalOperator,
{"full_refresh": True, "selector": "nightly_snowplow"},
{"context": {}, "cmd_flags": ["--selector", "nightly_snowplow"]},
),
(
DbtRunOperationLocalOperator,
Expand Down

0 comments on commit 617338d

Please sign in to comment.