Skip to content

Commit e3e57d5

Browse files
committed
Chore: Remove dead code
1 parent e7e4841 commit e3e57d5

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

tests/core/integration/test_forward_only.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import pandas as pd # noqa: TID253
66
import pytest
77
import time_machine
8-
from pytest_mock.plugin import MockerFixture
98

109
from sqlmesh.core import dialect as d
1110
from sqlmesh.core.context import Context
@@ -15,7 +14,7 @@
1514
SqlModel,
1615
load_sql_based_model,
1716
)
18-
from sqlmesh.core.plan import PlanBuilder, SnapshotIntervals
17+
from sqlmesh.core.plan import SnapshotIntervals
1918
from sqlmesh.core.snapshot import (
2019
SnapshotChangeCategory,
2120
)
@@ -25,18 +24,6 @@
2524
pytestmark = pytest.mark.slow
2625

2726

28-
@pytest.fixture(autouse=True)
29-
def mock_choices(mocker: MockerFixture):
30-
mocker.patch("sqlmesh.core.console.TerminalConsole._get_snapshot_change_category")
31-
mocker.patch("sqlmesh.core.console.TerminalConsole._prompt_backfill")
32-
33-
34-
def plan_choice(plan_builder: PlanBuilder, choice: SnapshotChangeCategory) -> None:
35-
for snapshot in plan_builder.build().snapshots.values():
36-
if not snapshot.version:
37-
plan_builder.set_choice(snapshot, choice)
38-
39-
4027
@time_machine.travel("2023-01-08 15:00:00 UTC")
4128
@pytest.mark.parametrize(
4229
"context_fixture",

0 commit comments

Comments
 (0)