Your message dated Sun, 17 Mar 2024 21:58:09 +0100
with message-id <1ae0bd13-2df3-412b-b65d-e75ec1b95...@debian.org>
and subject line Re: openlp: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p 3.11 returned exit code 13
has caused the Debian Bug report #1066726,
regarding openlp: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i 
python{version} -p 3.11 returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1066726: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066726
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openlp
Version: 3.1.0~rc4-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> QT_QPA_PLATFORM=offscreen dh_auto_test
> I: pybuild base:305: cd 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build'; python3.11 -m pytest 
> -k 'not test_load_settings_position_invalid and not 
> test_get_directory_for_language_dir_from_source and not 
> test_get_ip_address_default'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0
> PyQt5 5.15.10 -- Qt runtime 5.15.10 -- Qt compiled 5.15.10
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: qt-4.3.1
> collected 2482 items / 3 deselected / 1 skipped / 2479 selected
> 
> tests/openlp_core/api/endpoint/test_controller.py ....                   [  
> 0%]
> tests/openlp_core/api/http_server/test_http.py ..                        [  
> 0%]
> tests/openlp_core/api/http_server/test_init.py .......                   [  
> 0%]
> tests/openlp_core/api/test_deploy.py ...........                         [  
> 0%]
> tests/openlp_core/api/test_http.py ...                                   [  
> 1%]
> tests/openlp_core/api/test_main.py .                                     [  
> 1%]
> tests/openlp_core/api/test_tab.py .................                      [  
> 1%]
> tests/openlp_core/api/test_websockets.py .......................         [  
> 2%]
> tests/openlp_core/api/v2/test_controller.py ............................ [  
> 3%]
> ....                                                                     [  
> 4%]
> tests/openlp_core/api/v2/test_core.py ..............                     [  
> 4%]
> tests/openlp_core/api/v2/test_plugins.py .............                   [  
> 5%]
> tests/openlp_core/api/v2/test_service.py ........                        [  
> 5%]
> tests/openlp_core/common/test_actions.py ..........                      [  
> 5%]
> tests/openlp_core/common/test_applocation.py ............                [  
> 6%]
> tests/openlp_core/common/test_handlers.py .                              [  
> 6%]
> tests/openlp_core/common/test_httputils.py ..................            [  
> 7%]
> tests/openlp_core/common/test_i18n.py ............                       [  
> 7%]
> tests/openlp_core/common/test_init.py .................................. [  
> 8%]
> ..................                                                       [  
> 9%]
> tests/openlp_core/common/test_json.py ..................                 [ 
> 10%]
> tests/openlp_core/common/test_mixins.py ....                             [ 
> 10%]
> tests/openlp_core/common/test_network_interfaces.py ......               [ 
> 10%]
> tests/openlp_core/common/test_path.py ..................                 [ 
> 11%]
> tests/openlp_core/common/test_platform.py .....                          [ 
> 11%]
> tests/openlp_core/common/test_registry.py .........                      [ 
> 12%]
> tests/openlp_core/common/test_settings.py .......................        [ 
> 13%]
> tests/openlp_core/common/test_utils.py .......                           [ 
> 13%]
> tests/openlp_core/db/test_helpers.py ....                                [ 
> 13%]
> tests/openlp_core/db/test_manager.py ..                                  [ 
> 13%]
> tests/openlp_core/db/test_upgrades.py ..                                 [ 
> 13%]
> tests/openlp_core/display/test_render.py ..........                      [ 
> 14%]
> tests/openlp_core/display/test_screens.py ........................       [ 
> 15%]
> tests/openlp_core/display/test_window.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 
> 16%]
> FFFFFFFF.FFFFFFFF                                                        [ 
> 16%]
> tests/openlp_core/lib/test_exceptions.py .                               [ 
> 16%]
> tests/openlp_core/lib/test_filelock.py ....                              [ 
> 17%]
> tests/openlp_core/lib/test_formattingtags.py ..                          [ 
> 17%]
> tests/openlp_core/lib/test_lib.py ...................................... [ 
> 18%]
> ...........                                                              [ 
> 19%]
> tests/openlp_core/lib/test_mediamanageritem.py ......                    [ 
> 19%]
> tests/openlp_core/lib/test_pluginmanager.py ........................     [ 
> 20%]
> tests/openlp_core/lib/test_serviceitem.py .............................. [ 
> 21%]
> .........                                                                [ 
> 21%]
> tests/openlp_core/lib/test_theme.py ................                     [ 
> 22%]
> tests/openlp_core/lib/test_ui.py ..........................              [ 
> 23%]
> tests/openlp_core/pages/test_alignment.py ..........................     [ 
> 24%]
> tests/openlp_core/pages/test_areaposition.py .....................       [ 
> 25%]
> tests/openlp_core/pages/test_background.py ............................. [ 
> 26%]
> ....                                                                     [ 
> 26%]
> tests/openlp_core/pages/test_fontselection.py .......................... [ 
> 27%]
> ................                                                         [ 
> 28%]
> tests/openlp_core/pages/test_gridlayoutpage.py ....                      [ 
> 28%]
> tests/openlp_core/projectors/commands/test_avmt.py .........             [ 
> 29%]
> tests/openlp_core/projectors/commands/test_clss.py .......               [ 
> 29%]
> tests/openlp_core/projectors/commands/test_misc_commands.py ....         [ 
> 29%]
> tests/openlp_core/projectors/commands/test_pjlink.py ...........         [ 
> 30%]
> tests/openlp_core/projectors/commands/test_routing.py ........           [ 
> 30%]
> tests/openlp_core/projectors/commands/test_sver.py ....                  [ 
> 30%]
> tests/openlp_core/projectors/db/test_get_projector.py ..............     [ 
> 31%]
> tests/openlp_core/projectors/editform/test_accept_me.py ................ [ 
> 31%]
> .                                                                        [ 
> 31%]
> tests/openlp_core/projectors/editform/test_misc_editform.py .....        [ 
> 31%]
> tests/openlp_core/projectors/manager/test_boostrap.py ....               [ 
> 32%]
> tests/openlp_core/projectors/manager/test_misc_manager.py ...            [ 
> 32%]
> tests/openlp_core/projectors/manager/test_toolbar_triggers-01.py ....... [ 
> 32%]
> ...........                                                              [ 
> 32%]
> tests/openlp_core/projectors/manager/test_toolbar_triggers-basic.py .... [ 
> 33%]
>                                                                          [ 
> 33%]
> tests/openlp_core/projectors/manager/test_udp.py .....                   [ 
> 33%]
> tests/openlp_core/projectors/pjlink/test_check_login.py ......           [ 
> 33%]
> tests/openlp_core/projectors/pjlink/test_get_data.py ............        [ 
> 34%]
> tests/openlp_core/projectors/pjlink/test_misc_pjlink.py ............     [ 
> 34%]
> tests/openlp_core/projectors/pjlink/test_reset_information.py .          [ 
> 34%]
> tests/openlp_core/projectors/pjlink/test_send_command.py ............... [ 
> 35%]
> .                                                                        [ 
> 35%]
> tests/openlp_core/projectors/test_projector_commands_01.py ..........    [ 
> 35%]
> tests/openlp_core/projectors/test_projector_commands_02.py ............. [ 
> 36%]
> .....                                                                    [ 
> 36%]
> tests/openlp_core/projectors/test_projector_constants.py ...             [ 
> 36%]
> tests/openlp_core/projectors/test_projector_db.py ...................... [ 
> 37%]
> ......                                                                   [ 
> 37%]
> tests/openlp_core/projectors/test_projector_pjlink_base_01.py .......... [ 
> 37%]
> ........                                                                 [ 
> 38%]
> tests/openlp_core/projectors/test_projector_pjlink_udp.py .........      [ 
> 38%]
> tests/openlp_core/projectors/test_projector_sourceform.py ...            [ 
> 38%]
> tests/openlp_core/projectors/ui/test_tab.py .......                      [ 
> 39%]
> tests/openlp_core/test_app.py ..............F...                         [ 
> 39%]
> tests/openlp_core/test_loader.py .                                       [ 
> 39%]
> tests/openlp_core/test_main.py ....                                      [ 
> 40%]
> tests/openlp_core/test_server.py ............                            [ 
> 40%]
> tests/openlp_core/test_state.py ................                         [ 
> 41%]
> tests/openlp_core/test_threading.py .........                            [ 
> 41%]
> tests/openlp_core/test_version.py ...........                            [ 
> 41%]
> tests/openlp_core/ui/media/test_media.py ...........                     [ 
> 42%]
> tests/openlp_core/ui/media/test_mediacontroller.py ..................... [ 
> 43%]
> ....ssss.............................                                    [ 
> 44%]
> tests/openlp_core/ui/media/test_remote.py .........s                     [ 
> 45%]
> tests/openlp_core/ui/media/test_vlcplayer.py ........................... [ 
> 46%]
> ....                                                                     [ 
> 46%]
> tests/openlp_core/ui/media/test_vlcplayerpl.py .......................   [ 
> 47%]
> tests/openlp_core/ui/test_aboutform.py ...                               [ 
> 47%]
> tests/openlp_core/ui/test_advancedtab.py .                               [ 
> 47%]
> tests/openlp_core/ui/test_confirmationform.py ...                        [ 
> 47%]
> tests/openlp_core/ui/test_exceptionform.py ..                            [ 
> 47%]
> tests/openlp_core/ui/test_filerenamedialog.py ...                        [ 
> 47%]
> tests/openlp_core/ui/test_first_time.py .                                [ 
> 47%]
> tests/openlp_core/ui/test_firsttimeform.py ......................        [ 
> 48%]
> tests/openlp_core/ui/test_formattingtagscontroller.py ....               [ 
> 48%]
> tests/openlp_core/ui/test_formattingtagsform.py ..                       [ 
> 48%]
> tests/openlp_core/ui/test_generaltab.py ....                             [ 
> 49%]
> tests/openlp_core/ui/test_icons.py .                                     [ 
> 49%]
> tests/openlp_core/ui/test_init.py ..                                     [ 
> 49%]
> tests/openlp_core/ui/test_library.py ..................                  [ 
> 49%]
> tests/openlp_core/ui/test_mainwindow.py ................................ [ 
> 51%]
> ..............                                                           [ 
> 51%]
> tests/openlp_core/ui/test_serviceitemeditform.py ...............         [ 
> 52%]
> tests/openlp_core/ui/test_servicemanager.py ............................ [ 
> 53%]
> ................................................................         [ 
> 56%]
> tests/openlp_core/ui/test_servicenotedialog.py .                         [ 
> 56%]
> tests/openlp_core/ui/test_servicetab.py .                                [ 
> 56%]
> tests/openlp_core/ui/test_settings_form.py ....                          [ 
> 56%]
> tests/openlp_core/ui/test_settingsform.py .......                        [ 
> 56%]
> tests/openlp_core/ui/test_shortcutlistdialog.py ..                       [ 
> 56%]
> tests/openlp_core/ui/test_shortcutlistform.py ..........                 [ 
> 57%]
> tests/openlp_core/ui/test_slidecontroller.py ........................... [ 
> 58%]
> ..................................................                       [ 
> 60%]
> tests/openlp_core/ui/test_splashscreen.py .                              [ 
> 60%]
> tests/openlp_core/ui/test_starttimedialog.py ..                          [ 
> 60%]
> tests/openlp_core/ui/test_style.py .....................                 [ 
> 61%]
> tests/openlp_core/ui/test_themeform.py ........................sssss.    [ 
> 62%]
> tests/openlp_core/ui/test_thememanager.py ......................         [ 
> 63%]
> tests/openlp_core/ui/test_themeprogressform.py ......                    [ 
> 63%]
> tests/openlp_core/ui/test_themetab.py ..                                 [ 
> 63%]
> tests/openlp_core/widgets/test_buttons.py .......                        [ 
> 63%]
> tests/openlp_core/widgets/test_dialogs.py .............                  [ 
> 64%]
> tests/openlp_core/widgets/test_edits.py .......................          [ 
> 65%]
> tests/openlp_core/widgets/test_toolbar.py ............                   [ 
> 65%]
> tests/openlp_core/widgets/test_views.py ..........................       [ 
> 66%]
> tests/openlp_core/widgets/test_widgets.py ...........................    [ 
> 68%]
> tests/openlp_plugins/alerts/forms/test_alertform.py .                    [ 
> 68%]
> tests/openlp_plugins/alerts/test_manager.py ...                          [ 
> 68%]
> tests/openlp_plugins/alerts/test_plugin.py .....                         [ 
> 68%]
> tests/openlp_plugins/bibles/forms/test_bibleimportform.py sss            [ 
> 68%]
> tests/openlp_plugins/bibles/forms/test_editbibleform.py .                [ 
> 68%]
> tests/openlp_plugins/bibles/test_bibleimport.py ........................ [ 
> 69%]
> ......                                                                   [ 
> 69%]
> tests/openlp_plugins/bibles/test_bibleserver.py sss                      [ 
> 69%]
> tests/openlp_plugins/bibles/test_biblestab.py ..                         [ 
> 69%]
> tests/openlp_plugins/bibles/test_csvimport.py .................          [ 
> 70%]
> tests/openlp_plugins/bibles/test_lib.py ........                         [ 
> 70%]
> tests/openlp_plugins/bibles/test_lib_manager.py ....                     [ 
> 71%]
> tests/openlp_plugins/bibles/test_lib_parse_reference.py ............     [ 
> 71%]
> tests/openlp_plugins/bibles/test_manager.py .                            [ 
> 71%]
> tests/openlp_plugins/bibles/test_mediaitem.py .......................... [ 
> 72%]
> ..............................................................           [ 
> 75%]
> tests/openlp_plugins/bibles/test_opensongimport.py ....................  [ 
> 75%]
> tests/openlp_plugins/bibles/test_osisimport.py .....................     [ 
> 76%]
> tests/openlp_plugins/bibles/test_plugin.py .                             [ 
> 76%]
> tests/openlp_plugins/bibles/test_swordimport.py ..                       [ 
> 76%]
> tests/openlp_plugins/bibles/test_upgrade.py .Xxxx                        [ 
> 77%]
> tests/openlp_plugins/bibles/test_versereferencelist.py .....             [ 
> 77%]
> tests/openlp_plugins/bibles/test_wordprojectimport.py ........           [ 
> 77%]
> tests/openlp_plugins/bibles/test_zefaniaimport.py ...                    [ 
> 77%]
> tests/openlp_plugins/custom/forms/test_customform.py .......             [ 
> 78%]
> tests/openlp_plugins/custom/forms/test_customslideform.py ..             [ 
> 78%]
> tests/openlp_plugins/custom/test_customxml.py ...                        [ 
> 78%]
> tests/openlp_plugins/custom/test_mediaitem.py ...                        [ 
> 78%]
> tests/openlp_plugins/custom/test_plugin.py .                             [ 
> 78%]
> tests/openlp_plugins/images/forms/test_choosegroupform.py ....           [ 
> 78%]
> tests/openlp_plugins/images/test_imagetab.py ...                         [ 
> 78%]
> tests/openlp_plugins/images/test_mediaitem.py ...........                [ 
> 79%]
> tests/openlp_plugins/images/test_plugin.py .                             [ 
> 79%]
> tests/openlp_plugins/images/test_upgrade.py .                            [ 
> 79%]
> tests/openlp_plugins/media/forms/test_mediaclipselectorform.py ....      [ 
> 79%]
> tests/openlp_plugins/media/forms/test_streamselectorform.py ........     [ 
> 79%]
> tests/openlp_plugins/media/test_mediaitem.py .......                     [ 
> 80%]
> tests/openlp_plugins/media/test_mediaplugin.py ..                        [ 
> 80%]
> tests/openlp_plugins/media/test_plugin.py .                              [ 
> 80%]
> tests/openlp_plugins/planningcenter/forms/test_selectplanform.py ....... [ 
> 80%]
> .....s                                                                   [ 
> 80%]
> tests/openlp_plugins/planningcenter/lib/test_planningcenter_api.py ..... [ 
> 80%]
> .                                                                        [ 
> 80%]
> tests/openlp_plugins/planningcenter/lib/test_planningcentertab.py ....   [ 
> 81%]
> tests/openlp_plugins/planningcenter/lib/test_songimport.py ......        [ 
> 81%]
> tests/openlp_plugins/planningcenter/test_planningcenterplugin.py ....... [ 
> 81%]
>                                                                          [ 
> 81%]
> tests/openlp_plugins/presentations/lib/test_serializers.py sss           [ 
> 81%]
> tests/openlp_plugins/presentations/test_impresscontroller.py ..........  [ 
> 82%]
> tests/openlp_plugins/presentations/test_libreofficeserver.py sssssssssss [ 
> 82%]
> sssssssssssssssssssssssssssss                                            [ 
> 83%]
> tests/openlp_plugins/presentations/test_maclocontroller.py sssssssssssss [ 
> 84%]
> sssssssssssss                                                            [ 
> 84%]
> tests/openlp_plugins/presentations/test_mediaitem.py .........           [ 
> 85%]
> tests/openlp_plugins/presentations/test_messagelistener.py ....          [ 
> 85%]
> tests/openlp_plugins/presentations/test_pdfcontroller.py ..              [ 
> 85%]
> tests/openlp_plugins/presentations/test_plugin.py ...                    [ 
> 85%]
> tests/openlp_plugins/presentations/test_powerpointcontroller.py ........ [ 
> 85%]
> ...                                                                      [ 
> 85%]
> tests/openlp_plugins/presentations/test_presentationcontroller.py ...... [ 
> 86%]
> ......                                                                   [ 
> 86%]
> tests/openlp_plugins/presentations/test_presentationtab.py ..            [ 
> 86%]
> tests/openlp_plugins/songs/forms/test_authorsform.py .................   [ 
> 87%]
> tests/openlp_plugins/songs/forms/test_editsongform.py .......            [ 
> 87%]
> tests/openlp_plugins/songs/forms/test_editverseform.py ................. [ 
> 88%]
> ...........                                                              [ 
> 88%]
> tests/openlp_plugins/songs/forms/test_songmaintenanceform.py ........... [ 
> 89%]
> ........                                                                 [ 
> 89%]
> tests/openlp_plugins/songs/forms/test_topicsform.py ...                  [ 
> 89%]
> tests/openlp_plugins/songs/test_ccliimport.py .                          [ 
> 89%]
> tests/openlp_plugins/songs/test_chordproimport.py .                      [ 
> 89%]
> tests/openlp_plugins/songs/test_datasoulimport.py .                      [ 
> 89%]
> tests/openlp_plugins/songs/test_db.py ...........                        [ 
> 90%]
> tests/openlp_plugins/songs/test_easyslidesimport.py .                    [ 
> 90%]
> tests/openlp_plugins/songs/test_editsongform.py ...                      [ 
> 90%]
> tests/openlp_plugins/songs/test_ewimport.py ...............              [ 
> 90%]
> tests/openlp_plugins/songs/test_foilpresenterimport.py ........          [ 
> 91%]
> tests/openlp_plugins/songs/test_lib.py ................................. [ 
> 92%]
> ..                                                                       [ 
> 92%]
> tests/openlp_plugins/songs/test_liveworshipimport.py ..                  [ 
> 92%]
> tests/openlp_plugins/songs/test_lyriximport.py .                         [ 
> 92%]
> tests/openlp_plugins/songs/test_mediaitem.py ....................        [ 
> 93%]
> tests/openlp_plugins/songs/test_mediashout.py .......                    [ 
> 93%]
> tests/openlp_plugins/songs/test_openlpimporter.py ....                   [ 
> 93%]
> tests/openlp_plugins/songs/test_openlyricsexport.py ...                  [ 
> 94%]
> tests/openlp_plugins/songs/test_openlyricsimport.py ......               [ 
> 94%]
> tests/openlp_plugins/songs/test_openlyricsxml.py .......                 [ 
> 94%]
> tests/openlp_plugins/songs/test_openoffice.py ..                         [ 
> 94%]
> tests/openlp_plugins/songs/test_opensongimport.py ....                   [ 
> 94%]
> tests/openlp_plugins/songs/test_opsproimport.py .....                    [ 
> 95%]
> tests/openlp_plugins/songs/test_plugin.py .                              [ 
> 95%]
> tests/openlp_plugins/songs/test_powerpraiseimport.py .                   [ 
> 95%]
> tests/openlp_plugins/songs/test_presentationmanagerimport.py .           [ 
> 95%]
> tests/openlp_plugins/songs/test_propresenterimport.py ...                [ 
> 95%]
> tests/openlp_plugins/songs/test_reporting.py ...                         [ 
> 95%]
> tests/openlp_plugins/songs/test_singingthefaithimport.py .               [ 
> 95%]
> tests/openlp_plugins/songs/test_songbeamerimport.py ..............       [ 
> 96%]
> tests/openlp_plugins/songs/test_songformat.py .....                      [ 
> 96%]
> tests/openlp_plugins/songs/test_songimport.py ....                       [ 
> 96%]
> tests/openlp_plugins/songs/test_songproimport.py .                       [ 
> 96%]
> tests/openlp_plugins/songs/test_songselect.py .......................... [ 
> 97%]
> .......                                                                  [ 
> 97%]
> tests/openlp_plugins/songs/test_songshowplusimport.py ...............s   [ 
> 98%]
> tests/openlp_plugins/songs/test_songstab.py ................             [ 
> 99%]
> tests/openlp_plugins/songs/test_sundayplusimport.py .                    [ 
> 99%]
> tests/openlp_plugins/songs/test_videopsalm.py .                          [ 
> 99%]
> tests/openlp_plugins/songs/test_wordsofworshipimport.py .....            [ 
> 99%]
> tests/openlp_plugins/songs/test_worshipassistantimport.py .              [ 
> 99%]
> tests/openlp_plugins/songs/test_worshipcenterproimport.py .......        [ 
> 99%]
> tests/openlp_plugins/songs/test_zionworximport.py ...                    [ 
> 99%]
> tests/openlp_plugins/songusage/forms/test_songusagedeleteform.py .       [ 
> 99%]
> tests/openlp_plugins/songusage/forms/test_songusagedetailform.py .       [ 
> 99%]
> tests/openlp_plugins/songusage/test_songusage.py ....                    
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____________________________ test_x11_override_on 
> _____________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748612566352'>
> 
>     def test_x11_override_on(display_window_env, mock_settings):
>         """
>         Test that the x11 override option bit is set
>         """
>         # GIVEN: x11 bypass is on
>         mock_settings.value.return_value = True
>     
>         # WHEN: A DisplayWindow is generated
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:76: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2b1a050>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ____________________________ test_x11_override_off 
> _____________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748611500304'>
> 
>     def test_x11_override_off(display_window_env, mock_settings):
>         """
>         Test that the x11 override option bit is not set when setting if off
>         """
>         # GIVEN: x11 bypass is off
>         mock_settings.value.return_value = False
>     
>         # WHEN: A DisplayWindow is generated
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:91: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2b19f30>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _____________________ test_macos_toolwindow_attribute_set 
> ______________________
> 
> mocked_is_macosx = <MagicMock name='is_macosx' id='139748613838928'>
> mock_settings = <MagicMock id='139748613719248'>, display_window_env = None
> 
>     @patch('openlp.core.display.window.is_macosx')
>     def test_macos_toolwindow_attribute_set(mocked_is_macosx, mock_settings, 
> display_window_env):
>         """
>         Test that on macOS, the Qt.WA_MacAlwaysShowToolWindow attribute is set
>         """
>         # GIVEN: We're on macOS
>         mocked_is_macosx.return_value = True
>     
>         # WHEN: A DisplayWindow is created
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:107: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c334e320>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ___________________ test_not_macos_toolwindow_attribute_set 
> ____________________
> 
> mocked_is_macosx = <MagicMock name='is_macosx' id='139748611001616'>
> mock_settings = <MagicMock id='139748611837712'>, display_window_env = None
> 
>     @patch('openlp.core.display.window.is_macosx')
>     def test_not_macos_toolwindow_attribute_set(mocked_is_macosx, 
> mock_settings, display_window_env):
>         """
>         Test that on systems other than macOS, the 
> Qt.WA_MacAlwaysShowToolWindow attribute is NOT set
>         """
>         # GIVEN: We're on macOS
>         mocked_is_macosx.return_value = False
>     
>         # WHEN: A DisplayWindow is created
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:122: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3880>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ____________________ test_not_shown_if_start_hidden_is_set 
> _____________________
> 
> mocked_show = <MagicMock name='show' id='139748611460304'>
> display_window_env = None, mock_settings = <MagicMock id='139748611499984'>
> 
>     @patch.object(DisplayWindow, 'show')
>     def test_not_shown_if_start_hidden_is_set(mocked_show, 
> display_window_env, mock_settings):
>         """
>         Tests if DisplayWindow's .show() method is not called on constructor 
> if constructed with start_hidden=True
>         """
>     
>         # GIVEN: A mocked DisplayWindow's show method, a fake screen and 
> relevant settings
>         settings = {
>             'advanced/x11 bypass wm': False,
>             'core/display on monitor': True
>         }
>         mock_settings.value.side_effect = lambda key: settings[key]
>         screen = Screen(1, QtCore.QRect(0, 0, 800, 600), is_display=True)
>     
>         # WHEN: A DisplayWindow is created with start_hidden=True
> >       DisplayWindow(screen=screen, start_hidden=True)
> 
> tests/openlp_core/display/test_window.py:143: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3010>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ____________________ test_shown_if_start_hidden_is_not_set 
> _____________________
> 
> mocked_show = <MagicMock name='show' id='139748613560400'>
> display_window_env = None, mock_settings = <MagicMock id='139748613587472'>
> 
>     @patch.object(DisplayWindow, 'show')
>     def test_shown_if_start_hidden_is_not_set(mocked_show, 
> display_window_env, mock_settings):
>         """
>         Tests if DisplayWindow's .show() method is called on constructor if 
> constructed with start_hidden=False
>         """
>     
>         # GIVEN: A mocked DisplayWindow's show method, a fake screen and 
> relevant settings
>         settings = {
>             'advanced/x11 bypass wm': False,
>             'core/display on monitor': True
>         }
>         mock_settings.value.side_effect = lambda key: settings[key]
>         screen = Screen(1, QtCore.QRect(0, 0, 800, 600), is_display=True)
>     
>         # WHEN: A DisplayWindow is created with start_hidden=True
> >       DisplayWindow(screen=screen, start_hidden=False)
> 
> tests/openlp_core/display/test_window.py:164: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e28c0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ________________________ test_set_scale_not_initialised 
> ________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748611342416'>
> 
>     def test_set_scale_not_initialised(display_window_env, mock_settings):
>         """
>         Test that the scale js is not run if the page is not initialised
>         """
>         # GIVEN: A display window not yet initialised
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:175: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e2b90>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __________________________ test_set_scale_initialised 
> __________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748613904208'>
> 
>     def test_set_scale_initialised(display_window_env, mock_settings):
>         """
>         Test that the scale js is run if the page is initialised
>         """
>         # GIVEN: A initialised display window
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:191: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e30a0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ____________________ test_set_display_custom_url_works_http 
> ____________________
> 
> registry = <openlp.core.common.registry.Registry object at 0x7f19c2624250>
> display_window_env = None, mock_settings = <MagicMock id='139748613924560'>
> 
>     def test_set_display_custom_url_works_http(registry, display_window_env, 
> mock_settings):
>         """
>         Test that setting a display custom url works with HTTP path
>         """
>         # GIVEN: A mocked set_url and a custom display path
>         test_path = 'http://localhost:4200?testing=true'
>         registry.register('display_custom_url', test_path)
>     
>         with patch('openlp.core.display.window.DisplayWindow.set_url') as 
> mocked_set_url, \
>              patch('openlp.core.display.window.QtCore.QUrl') as mocked_qurl:
>             mocked_qurl.side_effect = lambda input: input
>             # WHEN: creating a DisplayWindow
> >           DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:214: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3250>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ___________________________ test_set_startup_screen 
> ____________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748613845392'>
> 
>     def test_set_startup_screen(display_window_env, mock_settings):
>         """
>         Test that the startup screen get set correctly
>         """
>         # GIVEN: A display window and mocked settings with logo path
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:225: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e2a70>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ____________________ test_set_startup_screen_default_image 
> _____________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748611786768'>
> 
>     def test_set_startup_screen_default_image(display_window_env, 
> mock_settings):
>         """
>         Test that the startup screen get set correctly
>         """
>         # GIVEN: A display window and mocked settings with logo path
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:257: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3b50>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _______________________ test_set_startup_screen_missing 
> ________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748612590224'>
> 
>     def test_set_startup_screen_missing(display_window_env, mock_settings):
>         """
>         Test that the startup screen get set correctly
>         """
>         # GIVEN: A display window and mocked settings with logo path missing
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:283: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3e20>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _________________________ test_set_startup_screen_hide 
> _________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748617763024'>
> 
>     def test_set_startup_screen_hide(display_window_env, mock_settings):
>         """
>         Test that the startup screen get set correctly
>         """
>         # GIVEN: A display window and mocked settings with hide logo true
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:306: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2b19630>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ______________________________ test_after_loaded 
> _______________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748614489104'>
> registry = <openlp.core.common.registry.Registry object at 0x7f19c2867750>
> 
>     def test_after_loaded(display_window_env, mock_settings, registry):
>         """
>         Test the correct steps are taken when the webview is loaded
>         """
>         # GIVEN: An initialised display window and settings for item 
> transitions and hide mouse returns true
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:329: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2b196c0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ___________________ test_after_loaded_hide_mouse_not_display 
> ___________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748614304272'>
> 
>     def test_after_loaded_hide_mouse_not_display(display_window_env, 
> mock_settings):
>         """
>         Test the mouse is showing even if the `hide mouse` setting is set 
> while is_display=false
>         """
>         # GIVEN: An initialised display window and settings for item 
> transitions and hide mouse returns true
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:356: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2b19d80>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __________________________ test_after_loaded_callback 
> __________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748614924240'>
> registry = <openlp.core.common.registry.Registry object at 0x7f19c28ce4d0>
> 
>     def test_after_loaded_callback(display_window_env, mock_settings, 
> registry):
>         """
>         Test if the __ is loaded on after_loaded() method correctly
>         """
>         # GIVEN: An initialised display window and settings for item 
> transitions and hide mouse returns true
>         mocked_after_loaded_callback = MagicMock()
> >       display_window = 
> > DisplayWindow(after_loaded_callback=mocked_after_loaded_callback)
> 
> tests/openlp_core/display/test_window.py:382: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e2ef0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _____________________ test_run_in_display_no_sync_no_wait 
> ______________________
> 
> mock_time = <MagicMock name='time' id='139748613920976'>
> display_window_env = None, mock_settings = <MagicMock id='139748613915024'>
> 
>     @patch.object(time, 'time')
>     def test_run_in_display_no_sync_no_wait(mock_time, display_window_env, 
> mock_settings):
>         """
>         test a script is run on the webview
>         """
>         # GIVEN: A (fake) webengine page
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:403: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3b50>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _______________________ test_run_in_display_sync_no_wait 
> _______________________
> 
> mock_time = <MagicMock name='time' id='139748614705552'>
> display_window_env = None, mock_settings = <MagicMock id='139748614623888'>
> 
>     @patch.object(time, 'time')
>     def test_run_in_display_sync_no_wait(mock_time, display_window_env, 
> mock_settings):
>         """
>         test a synced script is run on the webview and immediately returns a 
> result
>         """
>         # GIVEN: A (fake) webengine page with a js callback fn
>         def save_callback(script, callback):
>             callback(1234)
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:423: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3010>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __________________________ test_fix_font_bold_windows 
> __________________________
> 
> mocked_is_win = <MagicMock name='is_win' id='139748717929936'>
> display_window_env = None, mock_settings = <MagicMock id='139748616978000'>
> 
>     @patch('openlp.core.display.window.is_win')
>     def test_fix_font_bold_windows(mocked_is_win, display_window_env, 
> mock_settings):
>         """
>         Test that on Windows, fonts that end with "Bold" are handled
>         """
>         # GIVEN: A display window and a font name
>         mocked_is_win.return_value = True
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:445: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2605bd0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ________________________ test_fix_font_bold_not_windows 
> ________________________
> 
> mocked_is_win = <MagicMock name='is_win' id='139748613792144'>
> display_window_env = None, mock_settings = <MagicMock id='139748612992272'>
> 
>     @patch('openlp.core.display.window.is_win')
>     def test_fix_font_bold_not_windows(mocked_is_win, display_window_env, 
> mock_settings):
>         """
>         Test that on NOT Windows, fonts that end with "Bold" are ignored
>         """
>         # GIVEN: A display window and a font name
>         mocked_is_win.return_value = False
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:464: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26056c0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ____________________________ test_fix_font_foundry 
> _____________________________
> 
> mocked_is_win = <MagicMock name='is_win' id='139748611057936'>
> display_window_env = None, mock_settings = <MagicMock id='139748611052624'>
> 
>     @patch('openlp.core.display.window.is_win')
>     def test_fix_font_foundry(mocked_is_win, display_window_env, 
> mock_settings):
>         """
>         Test that a font with a foundry name in it has the foundry removed
>         """
>         # GIVEN: A display window and a font name
>         mocked_is_win.return_value = False
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:483: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2b1a050>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _______________________ test_set_theme_is_display_video 
> ________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748612672272'>
> mock_geometry = None
> 
>     def test_set_theme_is_display_video(display_window_env, mock_settings, 
> mock_geometry):
>         """
>         Test the set_theme function
>         """
>         # GIVEN: A display window and a video theme
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:500: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2b1a170>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _______________________ test_set_theme_not_display_video 
> _______________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748611849616'>
> mock_geometry = None
> 
>     def test_set_theme_not_display_video(display_window_env, mock_settings, 
> mock_geometry):
>         """
>         Test the set_theme function
>         """
>         # GIVEN: A display window and a video theme
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:521: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3910>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _______________________ test_set_theme_not_display_live 
> ________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748613500112'>
> mock_geometry = None
> 
>     def test_set_theme_not_display_live(display_window_env, mock_settings, 
> mock_geometry):
>         """
>         Test the set_theme function
>         """
>         # GIVEN: A display window and a video theme
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:549: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3d00>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ______________________________ test_show_display 
> _______________________________
> 
> mocked_screenlist = <MagicMock name='ScreenList' id='139748614922640'>
> mocked_registry_execute = <MagicMock name='execute' id='139748614652048'>
> display_window_env = None, mock_settings = <MagicMock id='139748710309648'>
> registry = <openlp.core.common.registry.Registry object at 0x7f19c83c6d90>
> 
>     @patch('openlp.core.display.window.Registry.execute')
>     @patch('openlp.core.display.window.ScreenList')
>     def test_show_display(mocked_screenlist: MagicMock, 
> mocked_registry_execute: MagicMock, display_window_env,
>                           mock_settings: MagicMock, registry: Registry):
>         """
>         Test show_display function
>         """
>         # GIVEN: Display window as the active display
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:577: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26068c0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _________________________ test_show_display_no_display 
> _________________________
> 
> mocked_screenlist = <MagicMock name='ScreenList' id='139748614468624'>
> display_window_env = None, mock_settings = <MagicMock id='139748613593488'>
> 
>     @patch('openlp.core.display.window.ScreenList')
>     def test_show_display_no_display(mocked_screenlist, display_window_env, 
> mock_settings):
>         """
>         Test show_display function when no displays are available
>         """
>         # GIVEN: A Display window, one screen and core/display on monitor 
> disabled
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:598: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2606a70>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _________________________ test_hide_display_to_screen 
> __________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748612096976'>
> 
>     def test_hide_display_to_screen(display_window_env, mock_settings):
>         """
>         Test hide to screen in the hide_display function
>         """
>         # GIVEN: Display window and setting advanced/disable transparent 
> display = False
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:616: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26052d0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __________________________ test_hide_display_to_blank 
> __________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748612246032'>
> 
>     def test_hide_display_to_blank(display_window_env, mock_settings):
>         """
>         Test hide to screen in the hide_display function
>         """
>         # GIVEN: Display window and setting advanced/disable transparent 
> display = False
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:634: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2605510>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __________________________ test_hide_display_to_theme 
> __________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748613632016'>
> 
>     def test_hide_display_to_theme(display_window_env, mock_settings):
>         """
>         Test hide to screen in the hide_display function
>         """
>         # GIVEN: Display window and setting advanced/disable transparent 
> display = False
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:650: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2606710>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _______________________ test_hide_display_to_transparent 
> _______________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748620439952'>
> 
>     def test_hide_display_to_transparent(display_window_env, mock_settings):
>         """
>         Test hide to screen in the hide_display function
>         """
>         # GIVEN: Display window and setting advanced/disable transparent 
> display = False
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:666: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3910>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _______________ test_display_watcher_dispatches_registered_event 
> _______________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748614998736'>
> 
>     def test_display_watcher_dispatches_registered_event(display_window_env, 
> mock_settings):
>         """
>         Test that the display watcher dispatches events to the registered 
> listeners
>         """
>         # GIVEN: Display window and a dummy event
>         event_name = 'dummy_event'
>         event_listener = MagicMock()
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:686: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2b1a170>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __________ test_display_watcher_dispatches_permanent_registered_event 
> __________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748614378320'>
> 
>     def 
> test_display_watcher_dispatches_permanent_registered_event(display_window_env,
>  mock_settings):
>         """
>         Test that the display watcher dispatches events to the permanent 
> registered listeners
>         """
>         # GIVEN: Display window and a dummy event
>         event_name = 'dummy_event'
>         event_listener = MagicMock()
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:703: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2604b80>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ___ test_display_watcher_dispatches_transient_and_permanent_registered_event 
> ___
> 
> display_window_env = None, mock_settings = <MagicMock id='139748614253072'>
> 
>     def 
> test_display_watcher_dispatches_transient_and_permanent_registered_event(display_window_env,
>  mock_settings):
>         """
>         Test that the display watcher dispatches events to both transient and 
> permanent registered listeners
>         """
>         # GIVEN: Display window and a dummy event
>         event_name = 'dummy_event'
>         event_listener = MagicMock()
>         event_listener_permanent = MagicMock()
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:721: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26048b0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ______________ test_display_watcher_unregisters_registered_event 
> _______________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748617717200'>
> 
>     def test_display_watcher_unregisters_registered_event(display_window_env, 
> mock_settings):
>         """
>         Test that the display watcher unregisters registered listeners
>         """
>         # GIVEN: Display window and a dummy event that is unregistered later
>         event_name = 'dummy_event'
>         event_listener = MagicMock()
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:740: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26049d0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _________ test_display_watcher_unregisters_registered_permanent_event 
> __________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748613857040'>
> 
>     def 
> test_display_watcher_unregisters_registered_permanent_event(display_window_env,
>  mock_settings):
>         """
>         Test that the display watcher unregisters registered permanent 
> listeners
>         """
>         # GIVEN: Display window and a dummy event that is unregistered later
>         event_name = 'dummy_event'
>         event_listener = MagicMock()
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:758: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2604430>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __ test_display_watcher_unregisters_registered_permanent_and_transient_event 
> ___
> 
> display_window_env = None, mock_settings = <MagicMock id='139748614848016'>
> 
>     def 
> test_display_watcher_unregisters_registered_permanent_and_transient_event(display_window_env,
>  mock_settings):
>         """
>         Test that the display watcher unregisters registered listeners, both 
> permanent and transient
>         """
>         # GIVEN: Display window and a dummy event that is unregistered later
>         event_name = 'dummy_event'
>         event_listener = MagicMock()
>         event_listener_permanent = MagicMock()
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:777: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2604790>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __________________ test_display_watcher_generates_event_names 
> __________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748617672784'>
> 
>     def test_display_watcher_generates_event_names(display_window_env, 
> mock_settings):
>         """
>         Test that the display watcher generate unique event names
>         """
>         # GIVEN: Display window
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:796: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26057e0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _______________________ test_hide_transparent_to_screen 
> ________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748626724368'>
> 
>     def test_hide_transparent_to_screen(display_window_env, mock_settings):
>         """
>         Test that when going transparent, and the disable transparent setting 
> is enabled,
>         the screen mode should be used.
>         """
>         # GIVEN: Display window, setting advanced/disable transparent display 
> = True and mocked run_in_display
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:812: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e3910>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _________________________ test_hide_display_no_display 
> _________________________
> 
> mocked_screenlist = <MagicMock name='ScreenList' id='139748613493648'>
> display_window_env = None, mock_settings = <MagicMock id='139748613498384'>
> 
>     @patch('openlp.core.display.window.ScreenList')
>     def test_hide_display_no_display(mocked_screenlist, display_window_env, 
> mock_settings):
>         """
>         Test show_display function when no displays are available
>         """
>         # GIVEN: A Display window, one screen and core/display on monitor 
> disabled
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:847: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2606b90>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _____________________ test_display_watcher_please_repaint 
> ______________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748614837776'>
> 
>     def test_display_watcher_please_repaint(display_window_env, 
> mock_settings):
>         """
>         Test that the repaint is initiated
>         """
>         # GIVEN: A DisplayWindow instance with mocked out webview
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:880: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2605900>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ________________________ test_close_event_ignores_event 
> ________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748613564048'>
> 
>     def test_close_event_ignores_event(display_window_env, mock_settings):
>         """
>         Test that when the window receives a close event, it ignores it
>         """
>         # GIVEN: A DisplayWindow instance and a mocked event
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:895: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26068c0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _________________ test_close_event_accepts_event_manual_close 
> __________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748612685520'>
> 
>     def test_close_event_accepts_event_manual_close(display_window_env, 
> mock_settings):
>         """
>         Test that when the window receives a close event due to manually 
> being closed, it accepts it
>         """
>         # GIVEN: A DisplayWindow instance and a mocked event
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:910: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26076d0>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ___________________________ test_run_in_display_run 
> ____________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748619737808'>
> 
>     def test_run_in_display_run(display_window_env, mock_settings):
>         """
>         Test that when run_in_display is called
>         """
>         # GIVEN: A DisplayWindow instance and a mocked _run_javascript
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:926: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2605480>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ______________________ test_run_in_display_honors_is_sync 
> ______________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748611123792'>
> 
>     def test_run_in_display_honors_is_sync(display_window_env, mock_settings):
>         """
>         Test that when run_in_display honors is_sync flag
>         """
>         # GIVEN: A DisplayWindow instance and a mocked _run_javascript
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:941: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2606050>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __________________ test_run_in_display_honors_raw_parameters 
> ___________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748709125264'>
> 
>     def test_run_in_display_honors_raw_parameters(display_window_env, 
> mock_settings):
>         """
>         Test that when run_in_display honors raw_parameters parameters
>         """
>         # GIVEN: A DisplayWindow instance and a mocked _run_javascript
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:956: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2607d00>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> _________________ test_run_in_display_honors_return_event_name 
> _________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748620375120'>
> 
>     def test_run_in_display_honors_return_event_name(display_window_env, 
> mock_settings):
>         """
>         Test that when run_in_display honors return_event_name parameter
>         """
>         # GIVEN: A DisplayWindow instance and a mocked _run_javascript
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:971: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c26e2950>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> ________________________ test_run_in_display_dumps_json 
> ________________________
> 
> display_window_env = None, mock_settings = <MagicMock id='139748620445200'>
> 
>     def test_run_in_display_dumps_json(display_window_env, mock_settings):
>         """
>         Test that when run_in_display is called with parameters, each of it 
> will be dumped as a JSON string
>         """
>         # GIVEN: A DisplayWindow instance and a mocked _run_javascript
> >       display_window = DisplayWindow()
> 
> tests/openlp_core/display/test_window.py:986: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/display/window.py:165: in __init__
>     self.webview = self.init_webengine()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.display.window.DisplayWindow object at 0x7f19c2605120>
> 
>     def init_webengine(self):
>         # Need to import this inline to get around a QtWebEngine issue
>         from openlp.core.display.webengine import WebEngineView, 
> WebViewSchemes, OpenLPScheme, OpenLPLibraryScheme
>         webview = WebEngineView(self)
>         profile = webview.page().profile()
> >       
> > WebViewSchemes().get_scheme(OpenLPScheme.scheme_name).init_handler(profile)
> E       AttributeError: 'NoneType' object has no attribute 'init_handler'
> 
> openlp/core/display/window.py:218: AttributeError
> __________________________ test_main_future_settings 
> ___________________________
> 
> mock_move = <MagicMock name='move' id='139748587212048'>
> mock_get_path = <MagicMock name='get_data_path' id='139748587214288'>
> mock_version = <MagicMock name='get_version' id='139748587224656'>
> mock_warn = <MagicMock name='warning' id='139748587200400'>, app_main_env = 
> None
> settings = <openlp.core.common.settings.Settings object at 0x7f19c24d2c20>
> 
>     @patch('openlp.core.app.QtWidgets.QMessageBox.warning')
>     @patch('openlp.core.app.get_version')
>     @patch('openlp.core.app.AppLocation.get_data_path')
>     @patch('openlp.core.app.move')
>     def test_main_future_settings(mock_move: MagicMock, mock_get_path: 
> MagicMock, mock_version: MagicMock,
>                                   mock_warn: MagicMock, app_main_env: None, 
> settings: Settings):
>         """
>         Test the backup_if_version_changed method backs up data if version 
> from the future and user consents
>         """
>         # GIVEN: A mocked openlp instance with mocked future settings
>         settings.from_future = MagicMock(return_value=True)
>         settings.version_mismatched = MagicMock(return_value=True)
>         settings.clear = MagicMock()
>         settings.setValue('core/application version', '3.0.1')
>         mock_warn.return_value = QtWidgets.QMessageBox.Yes
>         MOCKED_VERSION = {
>             'full': '2.9.3',
>             'version': '2.9.3',
>             'build': 'None'
>         }
>         mock_version.return_value = MOCKED_VERSION
>         temp_folder = Path(mkdtemp())
>         mock_get_path.return_value = temp_folder
>     
>         # WHEN: the main method is run
> >       result = backup_if_version_changed(settings)
> 
> tests/openlp_core/test_app.py:358: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> openlp/core/app.py:394: in backup_if_version_changed
>     settings.upgrade_settings()
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <openlp.core.common.settings.Settings object at 0x7f19c24d2c20>
> 
>     def upgrade_settings(self):
>         """
>         This method is only called to clean up the config. It removes old 
> settings and it renames settings. See
>         ``__obsolete_settings__`` for more details.
>         """
>         current_version = self.value('settings/version')
>         for version in range(current_version, __version__):
>             version += 1
> >           upgrade_list = getattr(self, 
> > '__setting_upgrade_{version}__'.format(version=version))
> E           AttributeError: 'Settings' object has no attribute 
> '__setting_upgrade_4__'
> 
> openlp/core/common/settings.py:708: AttributeError
> ------------------------------ Captured log setup 
> ------------------------------
> INFO     openlp.core.common.registry:registry.py:46 Registry Initialising
> ------------------------------ Captured log call 
> -------------------------------
> INFO     root:app.py:366 Settings are being backed up to 
> /tmp/tmp7se1ccid/2024-03-12 20-27.conf
> INFO     root:app.py:382 Data folder being backed up to 
> /tmp/tmp7se1ccid-20240312-202716
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songs/search as 
> type'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['media/players'] 
> does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['media/players_temp'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['advanced/data 
> path'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['advanced/default color'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['advanced/default image'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['advanced/use_dark_style'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['bibles/advanced 
> bible'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['bibles/last 
> directory import'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['bibles/last 
> search type'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['bibles/proxy 
> address'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['bibles/proxy 
> name'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['bibles/proxy 
> password'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['bibles/proxy 
> username'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['bibles/quick 
> bible'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['core/audio 
> repeat list'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['core/audio 
> start paused'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['core/logo 
> file'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['core/monitor', 
> 'core/x position', 'core/y position', 'core/height', 'core/width', 
> 'core/override position', 'core/display on monitor'] does not exist, skipping 
> upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['core/recent 
> files'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['core/save 
> prompt'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['crashreport/last directory'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['custom/last 
> search type'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['images/background color'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['images/last 
> directory'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['media/last 
> directory'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['media/media 
> files'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['media/override 
> player'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['media/players'] 
> does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['presentations / 
> Powerpoint Viewer'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['presentations/enable_pdf_program'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['presentations/last directory'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['presentations/pdf_program'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['presentations/presentations files'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['projector/last 
> directory export'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['projector/last 
> directory import'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['remotes/authentication enabled'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['remotes/https 
> enabled'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['remotes/https 
> port'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['remotes/ip 
> address'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['remotes/password'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['remotes/port'] 
> does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['remotes/thumbnails'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['remotes/twelve 
> hour'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['remotes/user 
> id'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['remotes/websocket port'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['servicemanager/last directory'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['servicemanager/last file'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['shortcuts/desktopScreenEnable'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['shortcuts/escapeItem'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['shortcuts/offlineHelpItem'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of 
> ['shortcuts/onlineHelpItem'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songs/auto play 
> audio'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songs/last 
> directory export'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songs/last 
> directory import'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songs/last 
> search type'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songuasge/db 
> database'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songuasge/db 
> hostname'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songuasge/db 
> password'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songusage/last 
> directory export'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['themes/last 
> directory export'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['themes/last 
> directory import'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['themes/last 
> directory'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['themes/wrap 
> footer'] does not exist, skipping upgrade
> WARNING  openlp.core.common.settings:settings.py:715 One of ['songs/add 
> songbook slide'] does not exist, skipping upgrade
> =============================== warnings summary 
> ===============================
> openlp/core/api/http/__init__.py:25
> openlp/core/api/http/__init__.py:25
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/api/http/__init__.py:25:
>  DeprecationWarning: The '__version__' attribute is deprecated and will be 
> removed in Werkzeug 3.1. Use feature detection or 
> 'importlib.metadata.version("werkzeug")' instead.
>     from werkzeug import __version__ as wz_version
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_core/api/test_websockets.py::test_websocket_send_message_fail
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/api/websockets.py:272:
>  UserWarning: Service "web_socket_server" not found in list
>     if ws := Registry().get("web_socket_server"):
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_core/common/test_mixins.py::test_no_application
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:140:
>  UserWarning: Service "application" not found in list
>     self._application = Registry().get('application')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_core/common/test_registry.py::test_registry_service
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/tests/openlp_core/common/test_registry.py:61:
>  UserWarning: Service "test2" not found in list
>     assert Registry().get('test2') is None
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_core/common/test_registry.py::test_registry_service
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/tests/openlp_core/common/test_registry.py:66:
>  UserWarning: Service "test1" not found in list
>     assert Registry().get('test1') is None
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_core/lib/test_serviceitem.py::test_get_service_repr_song
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/utils.py:40:
>  UserWarning: Service "application" not found in list
>     app = Registry().get('application')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_core/projectors/test_projector_db.py::test_upgrade_old_projector_db
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/projectors/upgrade.py:68:
>  RemovedIn20Warning: Deprecated API features detected! These feature(s) are 
> not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to 
> updating applications, ensure requirements files are pinned to 
> "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all 
> deprecation warnings.  Set environment variable 
> SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on 
> SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
>     new_op.add_column('projector', Column('mac_adx', types.String(18), 
> server_default=null()))
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_core/test_server.py::test_on_ready_read_no_service_manager
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_core/test_server.py::test_on_ready_read_giving_up
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/server.py:109:
>  UserWarning: Service "service_manager" not found in list
>     service_manager = Registry().get('service_manager')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:230:
>  UserWarning: Service "alerts_manager" not found in list
>     self._alerts_manager = Registry().get('alerts_manager')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:185:
>  UserWarning: Service "live_controller" not found in list
>     self._live_controller = Registry().get('live_controller')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:194:
>  UserWarning: Service "main_window" not found in list
>     self._main_window = Registry().get('main_window')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:158:
>  UserWarning: Service "media_controller" not found in list
>     self._media_controller = Registry().get('media_controller')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:149:
>  UserWarning: Service "plugin_manager" not found in list
>     self._plugin_manager = Registry().get('plugin_manager')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:176:
>  UserWarning: Service "preview_controller" not found in list
>     self._preview_controller = Registry().get('preview_controller')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:239:
>  UserWarning: Service "projector_manager" not found in list
>     self._projector_manager = Registry().get('projector_manager')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:203:
>  UserWarning: Service "renderer" not found in list
>     self._renderer = Registry().get('renderer')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:167:
>  UserWarning: Service "service_manager" not found in list
>     self._service_manager = Registry().get('service_manager')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:221:
>  UserWarning: Service "settings_form" not found in list
>     self._settings_form = Registry().get('settings_form')
> 
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/forms/test_editbibleform.py:
>  1 warning
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/bibles/test_opensongimport.py:
>  16 warnings
> .pybuild/cpython3_3.11_openlp/build/tests/openlp_plugins/media/forms/test_mediaclipselectorform.py:
>  4 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build/openlp/core/common/mixins.py:212:
>  UserWarning: Service "theme_manager" not found in list
>     self._theme_manager = Registry().get('theme_manager')
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/openlp_core/display/test_window.py::test_x11_override_on - 
> Attri...
> FAILED tests/openlp_core/display/test_window.py::test_x11_override_off - 
> Attr...
> FAILED 
> tests/openlp_core/display/test_window.py::test_macos_toolwindow_attribute_set
> FAILED 
> tests/openlp_core/display/test_window.py::test_not_macos_toolwindow_attribute_set
> FAILED 
> tests/openlp_core/display/test_window.py::test_not_shown_if_start_hidden_is_set
> FAILED 
> tests/openlp_core/display/test_window.py::test_shown_if_start_hidden_is_not_set
> FAILED 
> tests/openlp_core/display/test_window.py::test_set_scale_not_initialised
> FAILED tests/openlp_core/display/test_window.py::test_set_scale_initialised
> FAILED 
> tests/openlp_core/display/test_window.py::test_set_display_custom_url_works_http
> FAILED tests/openlp_core/display/test_window.py::test_set_startup_screen - 
> At...
> FAILED 
> tests/openlp_core/display/test_window.py::test_set_startup_screen_default_image
> FAILED 
> tests/openlp_core/display/test_window.py::test_set_startup_screen_missing
> FAILED tests/openlp_core/display/test_window.py::test_set_startup_screen_hide
> FAILED tests/openlp_core/display/test_window.py::test_after_loaded - 
> Attribut...
> FAILED 
> tests/openlp_core/display/test_window.py::test_after_loaded_hide_mouse_not_display
> FAILED tests/openlp_core/display/test_window.py::test_after_loaded_callback
> FAILED 
> tests/openlp_core/display/test_window.py::test_run_in_display_no_sync_no_wait
> FAILED 
> tests/openlp_core/display/test_window.py::test_run_in_display_sync_no_wait
> FAILED tests/openlp_core/display/test_window.py::test_fix_font_bold_windows
> FAILED 
> tests/openlp_core/display/test_window.py::test_fix_font_bold_not_windows
> FAILED tests/openlp_core/display/test_window.py::test_fix_font_foundry - 
> Attr...
> FAILED 
> tests/openlp_core/display/test_window.py::test_set_theme_is_display_video
> FAILED 
> tests/openlp_core/display/test_window.py::test_set_theme_not_display_video
> FAILED 
> tests/openlp_core/display/test_window.py::test_set_theme_not_display_live
> FAILED tests/openlp_core/display/test_window.py::test_show_display - 
> Attribut...
> FAILED tests/openlp_core/display/test_window.py::test_show_display_no_display
> FAILED tests/openlp_core/display/test_window.py::test_hide_display_to_screen
> FAILED tests/openlp_core/display/test_window.py::test_hide_display_to_blank
> FAILED tests/openlp_core/display/test_window.py::test_hide_display_to_theme
> FAILED 
> tests/openlp_core/display/test_window.py::test_hide_display_to_transparent
> FAILED 
> tests/openlp_core/display/test_window.py::test_display_watcher_dispatches_registered_event
> FAILED 
> tests/openlp_core/display/test_window.py::test_display_watcher_dispatches_permanent_registered_event
> FAILED 
> tests/openlp_core/display/test_window.py::test_display_watcher_dispatches_transient_and_permanent_registered_event
> FAILED 
> tests/openlp_core/display/test_window.py::test_display_watcher_unregisters_registered_event
> FAILED 
> tests/openlp_core/display/test_window.py::test_display_watcher_unregisters_registered_permanent_event
> FAILED 
> tests/openlp_core/display/test_window.py::test_display_watcher_unregisters_registered_permanent_and_transient_event
> FAILED 
> tests/openlp_core/display/test_window.py::test_display_watcher_generates_event_names
> FAILED 
> tests/openlp_core/display/test_window.py::test_hide_transparent_to_screen
> FAILED tests/openlp_core/display/test_window.py::test_hide_display_no_display
> FAILED 
> tests/openlp_core/display/test_window.py::test_display_watcher_please_repaint
> FAILED 
> tests/openlp_core/display/test_window.py::test_close_event_ignores_event
> FAILED 
> tests/openlp_core/display/test_window.py::test_close_event_accepts_event_manual_close
> FAILED tests/openlp_core/display/test_window.py::test_run_in_display_run - 
> At...
> FAILED 
> tests/openlp_core/display/test_window.py::test_run_in_display_honors_is_sync
> FAILED 
> tests/openlp_core/display/test_window.py::test_run_in_display_honors_raw_parameters
> FAILED 
> tests/openlp_core/display/test_window.py::test_run_in_display_honors_return_event_name
> FAILED 
> tests/openlp_core/display/test_window.py::test_run_in_display_dumps_json
> FAILED tests/openlp_core/test_app.py::test_main_future_settings - 
> AttributeEr...
> = 48 failed, 2340 passed, 88 skipped, 3 deselected, 3 xfailed, 1 xpassed, 241 
> warnings in 49.23s =
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_openlp/build'; python3.11 -m pytest 
> -k 'not test_load_settings_position_invalid and not 
> test_get_directory_for_language_dir_from_source and not 
> test_get_ip_address_default'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/openlp_3.1.0~rc4-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Version: 3.1.1+ds-1

The new version that I have just uploaded builds fine.
I have not identified what the root problem was.

--- End Message ---

Reply via email to