Skip to content

Commit d9b88f3

Browse files
committed
Remove dead code
1 parent ea3e749 commit d9b88f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sqlmesh/core/state_sync/db/snapshot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
class SnapshotState:
5050
SNAPSHOT_BATCH_SIZE = 1000
5151

52+
foo = 5
53+
5254
def __init__(
5355
self,
5456
engine_adapter: EngineAdapter,

tests/core/state_sync/test_state_sync.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,9 +1255,7 @@ def test_delete_expired_snapshots_promoted(
12551255
env.snapshots_ = []
12561256
state_sync.promote(env)
12571257

1258-
# now_timestamp_mock = mocker.patch("sqlmesh.core.state_sync.db.snapshot.now_timestamp")
12591258
now_timestamp_mock = mocker.patch("sqlmesh.core.state_sync.db.facade.now_timestamp")
1260-
12611259
now_timestamp_mock.return_value = now_timestamp() + 11000
12621260

12631261
assert state_sync.delete_expired_snapshots() == [

0 commit comments

Comments
 (0)