def METHOD_NAME(api_mock_tftp, reset_singleton):
    # Arrange
    manager_obj = in_tftpd.get_manager(api_mock_tftp)
    # Act
    result = manager_obj.write_boot_files_distro(api_mock_tftp.distros()[0])
    # Assert
    assert result == 0