Skip to content

Commit 6ef58cc

Browse files
committed
attempt to fix tests
1 parent b69e2dc commit 6ef58cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/core/test_integration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2922,16 +2922,16 @@ def test_virtual_environment_mode_dev_only_model_kind_change_manual_categorizati
29222922
def test_virtual_environment_mode_dev_only_seed_model_change(
29232923
init_and_plan_context: t.Callable,
29242924
):
2925-
context, plan = init_and_plan_context(
2925+
context, _ = init_and_plan_context(
29262926
"examples/sushi", config="test_config_virtual_environment_mode_dev_only"
29272927
)
2928-
context.apply(plan)
2928+
context.load()
2929+
context.plan("prod", auto_apply=True, no_prompts=True)
29292930

29302931
seed_model = context.get_model("sushi.waiter_names")
29312932
with open(seed_model.seed_path, "a") as fd:
29322933
fd.write("\n123,New Test Name")
29332934

2934-
context.clear_caches()
29352935
context.load()
29362936
seed_model_snapshot = context.get_snapshot("sushi.waiter_names")
29372937
plan = context.plan_builder("dev").build()

0 commit comments

Comments
 (0)