diff --git a/tests/api2/test_190_filesystem.py b/tests/api2/test_190_filesystem.py index 15c391e721915..d3271b02a3eb3 100644 --- a/tests/api2/test_190_filesystem.py +++ b/tests/api2/test_190_filesystem.py @@ -152,9 +152,13 @@ def test_07_test_filesystem_stat_filetype(request): assert statout['is_ctldir'] assert call('filesystem.stat', f'{path}/.zfs/snapshot/{snap_name}')['is_ctldir'] - assert all(dirent['is_ctldir'] for dirent in call('filesystem.listdir', f'{path}/.zfs/snapshot')) + assert all(dirent['is_ctldir'] for dirent in call( + 'filesystem.listdir', f'{path}/.zfs/snapshot', [], {'select': ['name', 'is_ctldir']} + )) assert call('filesystem.stat', f'{path}/.zfs/snapshot')['is_ctldir'] - assert all(dirent['is_ctldir'] for dirent in call('filesystem.listdir', f'{path}/.zfs')) + assert all(dirent['is_ctldir'] for dirent in call( + 'filesystem.listdir', f'{path}/.zfs', [], {'select': ['name', 'is_ctldir']} + )) assert call('filesystem.stat', f'{path}/.zfs')['is_ctldir']