async def METHOD_NAME(
        service_for_diff: Service, device_out):
    """The whether the poller writes without issues even if there is not data
    about previous device sessions
    """
    out_df = pd.DataFrame(device_out)
    out_df['sqvers'] = out_df['sqvers'].astype(str)
    out_df['deviceSession'] = None
    db_access = service_for_diff._db_access
    db_access.read = Mock(return_value=out_df)
    service_for_diff._post_work_to_writer = Mock()
    service_for_diff._node_boot_timestamps = {}  # reset boot cache
    await service_for_diff.commit_data(
        device_out, 'vagrant', 'leaf01', time())
    try:
        service_for_diff._post_work_to_writer.assert_called_once()
    except AssertionError:
        pytest.fail('The poller didn\'t write with missing prev reboot data')
    written_records = service_for_diff._post_work_to_writer.call_args[0][0]
    assert len(written_records) == len(device_out), \
        'Not all the records written'