Skip to content

Commit 4f2568d

Browse files
committed
commented out patches
1 parent 9d5412f commit 4f2568d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/load/ducklake/test_ducklake_client.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@ def test_destination_defaults() -> None:
154154
pipeline = dlt.pipeline("destination_defaults", destination="ducklake")
155155
expected_location = pathlib.Path(".", DUCKLAKE_NAME_PATTERN % pipeline.dataset_name)
156156

157-
with (
158-
unittest.mock.patch("pendulum.now", return_value="2025-08-25T20:44:02.143226+00:00"),
159-
unittest.mock.patch("pendulum.instance", return_value="2025-08-25T20:44:02.143226+00:00"),
160-
unittest.mock.patch("pendulum.datetime", return_value=datetime.datetime.fromisoformat("2025-08-25T20:44:02.143226+00:00")),
161-
unittest.mock.patch("pendulum.from_timestamp", return_value=datetime.datetime.fromisoformat("2025-08-25T20:44:02.143226+00:00")),
162-
unittest.mock.patch("dlt.common.time.ensure_pendulum_datetime", return_value=datetime.datetime.fromisoformat("2025-08-25T20:44:02.143226+00:00")),
163-
unittest.mock.patch("dlt.pipeline.track.on_end_trace", return_value=None)
164-
):
165-
pipeline.run([{"foo": 1}, {"foo": 2}], table_name="table_foo")
157+
# with (
158+
# unittest.mock.patch("pendulum.now", return_value="2025-08-25T20:44:02.143226+00:00"),
159+
# unittest.mock.patch("pendulum.instance", return_value="2025-08-25T20:44:02.143226+00:00"),
160+
# unittest.mock.patch("pendulum.datetime", return_value=datetime.datetime.fromisoformat("2025-08-25T20:44:02.143226+00:00")),
161+
# unittest.mock.patch("pendulum.from_timestamp", return_value=datetime.datetime.fromisoformat("2025-08-25T20:44:02.143226+00:00")),
162+
# unittest.mock.patch("dlt.common.time.ensure_pendulum_datetime", return_value=datetime.datetime.fromisoformat("2025-08-25T20:44:02.143226+00:00")),
163+
# unittest.mock.patch("dlt.pipeline.track.on_end_trace", return_value=None)
164+
# ):
165+
pipeline.run([{"foo": 1}, {"foo": 2}], table_name="table_foo")
166166

167167
assert expected_location.exists()
168168

0 commit comments

Comments
 (0)