Skip to content

Commit 7effa65

Browse files
committed
fix cli test
1 parent 2cca48f commit 7effa65

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

tests/cli/test_cli.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,6 @@ def assert_new_env(result, new_env="prod", from_env="prod", initialize=True) ->
139139
) in result.output
140140

141141

142-
def assert_physical_layer_updated(result) -> None:
143-
assert "Physical layer updated" in result.output
144-
145-
146142
def assert_model_batches_executed(result) -> None:
147143
assert "Model batches executed" in result.output
148144

@@ -152,7 +148,6 @@ def assert_virtual_layer_updated(result) -> None:
152148

153149

154150
def assert_backfill_success(result) -> None:
155-
assert_physical_layer_updated(result)
156151
assert_model_batches_executed(result)
157152
assert_virtual_layer_updated(result)
158153

tests/cli/test_integration_cli.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ def do_something(evaluator):
141141
result = invoke_cli(["plan", "--no-prompts", "--auto-apply", "--skip-tests"])
142142

143143
assert result.returncode == 0
144-
assert "Physical layer updated" in result.stdout
145144
assert "Virtual layer updated" in result.stdout
146145

147146
# render the query to ensure our macro is being invoked
@@ -175,7 +174,6 @@ def do_something(evaluator):
175174
]
176175
)
177176
assert result.returncode == 0
178-
assert "Physical layer updated" in result.stdout
179177
assert "Virtual layer updated" in result.stdout
180178

181179
log_file_contents = last_log_file_contents()
@@ -236,7 +234,6 @@ def do_something(evaluator):
236234
result = invoke_cli(["plan", "--no-prompts", "--auto-apply", "--skip-tests"])
237235

238236
assert result.returncode == 0
239-
assert "Physical layer updated" in result.stdout
240237
assert "Virtual layer updated" in result.stdout
241238

242239
# clear cache to ensure we are forced to reload everything
@@ -266,7 +263,6 @@ def do_something(evaluator):
266263
)
267264
assert result.returncode == 0
268265
assert "Apply - Backfill Tables [y/n]:" in result.stdout
269-
assert "Physical layer updated" not in result.stdout
270266

271267
# the invalid snapshot in state should not prevent a plan if --select-model is used on it (since the local version can be rendered)
272268
result = invoke_cli(
@@ -343,7 +339,6 @@ def test_model_selector_tags_picks_up_both_remote_and_local(
343339
result = invoke_cli(["plan", "--no-prompts", "--auto-apply", "--skip-tests"])
344340

345341
assert result.returncode == 0
346-
assert "Physical layer updated" in result.stdout
347342
assert "Virtual layer updated" in result.stdout
348343

349344
# add a new model locally with tag:a

0 commit comments

Comments
 (0)