def no_such_executable_logged(case, logger):
    assertHasMessage(case, logger, ZFS_ERROR, {
        'status': 1,
        'zfs_command': 'nonsense garbage made up no such command',
        'output': '[Errno 2] No such file or directory'})
    case.assertEqual(len(LoggedMessage.ofType(logger.messages, ZFS_ERROR)), 1)
Validate the error logging behavior of ``_sync_command_error_squashed``.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/volume/test/test_filesystems_zfs.py/no_such_executable_logged