From cd1b82b4e00253a9c0641043adc88d25db3c188f Mon Sep 17 00:00:00 2001 From: yanghua Date: Thu, 26 Sep 2024 20:16:38 +0800 Subject: [PATCH] API: ls support last_modified property --- tosfs/tests/test_fsspec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tosfs/tests/test_fsspec.py b/tosfs/tests/test_fsspec.py index dfa43d6..b9a55b1 100644 --- a/tosfs/tests/test_fsspec.py +++ b/tosfs/tests/test_fsspec.py @@ -423,8 +423,8 @@ def test_find(fsspecfs: Any, bucket: str, temporary_workspace: str): def remove_last_modification_time_ms(data): if isinstance(data, dict): for key in data: - if "last_modification_time_ms" in data[key]: - del data[key]["last_modification_time_ms"] + if "LastModified" in data[key]: + del data[key]["LastModified"] return data file1_path = f"{bucket}/{temporary_workspace}/file1"