Skip to content

Commit b4c14fc

Browse files
committed
fix test
1 parent aa9d536 commit b4c14fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/table/test_remove_orphans.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_remove_orphaned_files_with_invalid_file_doesnt_error(catalog: Catalog)
118118
tbl.append(df)
119119

120120
file_that_does_not_exist = "foo/bar.baz"
121-
with patch.object(type(tbl.maintenance), "orphaned_files", return_value={file_that_does_not_exist}):
121+
with patch.object(type(tbl.maintenance), "_orphaned_files", return_value={file_that_does_not_exist}):
122122
with patch.object(tbl.io, "delete", wraps=tbl.io.delete) as mock_delete:
123123
tbl.maintenance.remove_orphaned_files(timedelta(days=3))
124124
mock_delete.assert_called_with(file_that_does_not_exist)

0 commit comments

Comments
 (0)