diff --git a/tests/integration/io/test_list_files_http.py b/tests/integration/io/test_list_files_http.py index 886d32413b..9831ec7238 100644 --- a/tests/integration/io/test_list_files_http.py +++ b/tests/integration/io/test_list_files_http.py @@ -10,8 +10,8 @@ def compare_http_result(daft_ls_result: list, fsspec_result: list): - daft_files = [(f["path"], f["type"].lower()) for f in daft_ls_result] - httpfs_files = [(f["name"], f["type"]) for f in fsspec_result] + daft_files = [(f["path"], f["type"].lower(), f["size"]) for f in daft_ls_result] + httpfs_files = [(f["name"], f["type"], f["size"]) for f in fsspec_result] assert len(daft_files) == len(httpfs_files) assert sorted(daft_files) == sorted(httpfs_files) @@ -61,7 +61,7 @@ def test_gs_single_file_listing(nginx_http_url): # fsspec_result = fs.ls(path, detail=True) assert len(daft_ls_result) == 1 - assert daft_ls_result[0] == {"path": path, "size": None, "type": "File"} + assert daft_ls_result[0] == {"path": path, "size": 0, "type": "File"} @pytest.mark.integration()